From: Paul Eggert Date: Wed, 2 Mar 2011 05:25:09 +0000 (-0800) Subject: Merge: Work around some portability problems with symlinks. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~677 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c0dea8a89bdfbdad454a9609f0bed8db4c9fccf;p=emacs.git Merge: Work around some portability problems with symlinks. --- 6c0dea8a89bdfbdad454a9609f0bed8db4c9fccf diff --cc ChangeLog index f7bef44ef55,30262b6c5bc..3bb49ce27f5 --- a/ChangeLog +++ b/ChangeLog @@@ -1,3 -1,3 +1,16 @@@ ++2011-03-02 Paul Eggert ++ ++ Work around some portability problems with symlinks. ++ ++ * Makefile.in (GNULIB_MODULES): Add lstat, readlink, symlink. ++ * configure.in (lstat, HAVE_LSTAT): Remove special hack. ++ * lib/dosname.h, lib/lstat.c, lib/readlink.c, lib/stat.c: ++ * lib/symlink.c, 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: ++ * m4/gl-comp.m4, src/config.in, config.sub: Regenerate. ++ 2011-02-26 Eli Zaretskii * .bzrignore: Ignore new lib/*.in-h files. diff --cc config.sub index 83da3565c17,83da3565c17..0ef29b072ed --- a/config.sub +++ b/config.sub @@@ -4,7 -4,7 +4,7 @@@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011 Free Software Foundation, Inc. --timestamp='2011-02-02' ++timestamp='2011-02-24' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@@ -76,7 -76,7 +76,7 @@@ version=" GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, --2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free ++2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO diff --cc configure index f3fae2fb85f,658fac9a358..68447e985f0 --- a/configure +++ b/configure @@@ -1165,9 -1165,9 +1165,6 @@@ LDFLAG LIBS CPPFLAGS CPP --CPPFLAGS --CPP --CPPFLAGS XMKMF' diff --cc src/ChangeLog index 0e5e295a622,388e8c251d1..34e28866144 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,3 -1,3 +1,16 @@@ ++2011-03-02 Paul Eggert ++ ++ Work around some portability problems with symlinks. ++ ++ * fileio.c (Fmake_symbolic_link): Treat ENOSYS specially, and ++ generate a special message for it. Suggested by Eli Zaretskii in ++ . ++ (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. ++ 2011-02-27 Chong Yidong * frame.c (store_frame_param): Don't store value directly in