This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 12/04/2016 18:26, Arturo Castro wrote:
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!
on 2.5.1 cd /usr/include $ grep -rH MAXNAMLEN * ... dirent.h:#define MAXNAMLEN 1024 .... tcl8.5/unix/tclUnixPort.h:# define MAXNAMLEN 255 from where your build is taking MAXNAMLEN ? -- 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |