2.3.1(0.291/5/3): MAXNAMLEN too small

Arturo Castro arturo.castrop@live.com
Tue Apr 12 16:26:00 GMT 2016


Hey all,

I was compiling mg (the OpenBSD microemacs editor), and it was using MAXNAMLEN for filename completion. It had a bug because its value in Cygwin is 256 (too low!). We changed it to NAME_MAX which is 1024 and it works, but I think they should have the same value, so MAXNAMLEN should be updated to 1024, shouldn't it?

CYGWIN_NT-6.1-WOW 2.3.1(0.291/5/3) i686, on Win7-64bit.

Thanks!
 		 	   		  
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list