Mail Archives: djgpp-workers/2000/05/08/09:43:02
On Mon, 8 May 2000, Juan Manuel Guerrero wrote:
> There is a bug in sort.exe that inhibits its use under plain DOS.
> This bug concerns the file name generation for temporary files.
>
> This is a quote of sort.c, line #46-#50:
> #if HAVE_PATHCONF && defined _PC_NAME_MAX
> # define NAME_MAX_IN_DIR(Dir) pathconf (Dir, _PC_NAME_MAX)
> #else
> # define NAME_MAX_IN_DIR(Dir) 255
> #endif
>
> The HAVE_PATHCONF macro seems to have some "guard" function.
> But the HAVE_PATHCONF macro is *never* defined by the configure script
> nor somewhere else.
Please be sure you have the latest txt20?.zip from SimTel.NET. This bug
was indeed present in the initial upload of Textutils, but someone
reported it, so I corrected the bug and uploaded fixed source and binary
distributions. The latest upload should be dated February 6, 2000, and
the file config.h in txt20s.zip should #define HAVE_PATHCONF to 1 on its
last line.
The bug was actually in the configure script in the original FSF release.
- Raw text -