Michael Goffioul wrote: > > Indeed. The problem is that after the 2011-08-05 commit, m4/chdir-long.m4 > > and lib/chdir-long are no longer in sync: The .m4 file assumes that only > > <unistd.h> and <limits.h> will be included before > > (defined PATH_MAX || defined MAXPATHLEN) is tested, > > whereas the .h file includes > > <unistd.h>, <limits.h>, <sys/param.h> before doing this test. > > > >> It should be providing > >> chdir_long() unconditionally, but when there is no arbitrary file name > >> limit, it should be a simple stub around chdir(). > > > > That would be a possible fix of the problem, yes. > > Any update on this one?
After looking more closely, I don't know what's going on. AFAICS, mingw has a <sys/param.h> file, but msvc doesn't. So where does the difference in behaviour between m4/chdir-long.m4 and lib/chdir-long.h come from? Bruno -- In memoriam Robert Mensah <http://en.wikipedia.org/wiki/Robert_Mensah>