Sync from coreutils.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Feb 2006 23:00:23 +0000 (23:00 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Feb 2006 23:00:23 +0000 (23:00 +0000)
commit28fe652e06a47bc9d02812968dc8c188e5d68593
treebcd4bdc903f7361c7df092c7c9a889f624d31e53
parentf6fbc1414522daf6ccbb2503a75948377b900685
Sync from coreutils.

* modules/lstat (Depends-on): Don't depend on xalloc.
(License): Change from GPL to LGPL, since this is now simply a
replacement for a libc function.

Eliminate the unwelcome (albeit unlikely) possibility of xmalloc
failure on deficient systems, and simplify gnulib lgpl dependencies.
* lib/lstat.c (rpl_lstat): Rewrite to use stat() in place of the
xmalloc/lstat combination.  Based on a patch from Bruno Haible.

* lib/xalloc-die.c: Remove unused definition of N_.

* m4/ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
variable, to accommodate the rare case in which getmntent is
available in none of the libraries checked.  This happens at
least on FreeBSD 5.0.
ChangeLog
lib/ChangeLog
lib/lstat.c
lib/xalloc-die.c
m4/ChangeLog
m4/ls-mntd-fs.m4
modules/lstat