Mail Archives: djgpp-announce/2008/06/27/18:23:02
This is release 4 of the port of GNU Findutils 4.2.33 to MSDOS/DJGPP.
DJGPP specific changes.
=======================
This is a bug fix release. One issue has been solved here:
- find will no longer fail with an error message like this:
cannot get current directory: No such file or directory (ENOENT)
if it run on WinNT/2K/XP with LFN enabled and if CWD is the root directory
of the drive. This is not a bug in the find port itself but in the code of
the internal function __get_current_directory() that is used by function
__canonicalize_path(). This bug can be easily demonstrated by starting
cmd.exe with the following command:
start /Dc:\ cmd.exe
Please note that the drive specifier character is lower case. Now start find
of the previous release from the root directory with the command:
find
It will fail with no more output than this:
C:\djgpp\bin/find.exe: cannot get current directory: No such file or directory (ENOENT)
The function that fails is lstat() that calls _fixpath() that calls
__get_current_directory() that is not able to handle lower case drive specifier
character if LFN support is enabled and the CWD is the root directory. This
issue has been fixed in the CVS version of fixpath.c and thus in the version
used in the new version of libsupp too. This means that you must download
the package:
ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/lsupp52a.zip
to be able to configure and compile the sources. Of course, if you are not
interested in compiling the sources you do not need to download and install
lsupp52a.zip at all.
Thanks to Robert Riebisch to calling my attention about this issue and for
help debugging it.
For futher information about GNU Findutils please read the info docs and the
NEWS file.
Compiling the sources.
======================
As usual the sources are configured for stock djdev203.
- If you compile the sources with djdev203, you must proceed as usual running
the following commands from the top srcdir, this is findutils-4.2.33:
make
make install
The testsuite does not work because GNU dejagnu is not available.
- If you compile the sources with djdev204 it will be essential to reconfigure
sources because the distributed one have been configured for djdev203. For
this purpose you *must* delete ./djgpp/config.cache and ./config_h.org.
or the build process will fail.
In conclusion, to rebuild the findutils binaries with djdev204 run the
following commands from the top srcdir (findutils-4.2.33):
rm djgpp/config.cache
rm config_h.org
make clean
djgpp/config.bat
make
make install
The port consists of the usual three packages produced using stock djdev203
that can be downloaded from ftp.delorie.com and mirrors as (timestamp 2008-06-27):
Findutils 4.2.33 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/fnd4233br4.zip
Findutils 4.2.33 dvi, html, pdf and ps format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/fnd4233dr4.zip
Findutils 4.2.33 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/fnd4233sr4.zip
For the convenience of the WinXP users the binaries has been produced a
second time using the djdev204 beta library. This package is available
at ftp.delorie.com and mirrors as (timestamp 2008-06-27):
Findutils 4.2.33 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/fnd4233br4.zip
Send findutils specific bug reports to <bug-findutils AT gnu DOT org>.
Send suggestions and bug reports concerning the DJGPP port
to comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT gmx DOT de>
- Raw text -