[ChangeLog]
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Feb 2011 19:30:07 +0000 (11:30 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Feb 2011 19:30:07 +0000 (11:30 -0800)
commitae0d725005539d9259efac6a81ff8fdd45eb69a6
treec721b530409b355281537abc7b058bdb2697ee01
parent8d40723d1e9661840a67ca7be9c5b073526ab421
[ChangeLog]

Work around some portability problems with symlinks.
* Makefile.in (GNULIB_MODULES): Add lstat, readlink, symlink.
* configure.in (lstat, HAVE_LSTAT): Remove special hack.
* lib/lstat.c, lib/readlink.c, lib/stat.c, lib/symlink.c:
* m4/dos.m4, m4/lstat.m4, m4/readlink.m4, m4/stat.m4, m4/symlink.m4:
New files, automatically generated from gnulib.
* aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk:
* lib/stdlib.in.h, m4/gl-comp.m4, m4/stdlib_h.m4: Regenerate.

2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>
[src/ChangeLog]
Work around some portability problems with symlinks.
* fileio.c (Frename_file, Fmake_symbolic_link, Ffile_symlink_p):
Simplify the code by assuming that the readlink and symlink calls
exist, even if they always fail on this host.
(Ffile_readable_p): Likewise, for fifos.
* config.in: Regenerate.
22 files changed:
ChangeLog
Makefile.in
aclocal.m4
configure
configure.in
lib/Makefile.in
lib/gnulib.mk
lib/lstat.c [new file with mode: 0644]
lib/readlink.c [new file with mode: 0644]
lib/stat.c [new file with mode: 0644]
lib/stdlib.in.h
lib/symlink.c [new file with mode: 0644]
m4/dos.m4 [new file with mode: 0644]
m4/gl-comp.m4
m4/lstat.m4 [new file with mode: 0644]
m4/readlink.m4 [new file with mode: 0644]
m4/stat.m4 [new file with mode: 0644]
m4/stdlib_h.m4
m4/symlink.m4 [new file with mode: 0644]
src/ChangeLog
src/config.in
src/fileio.c