mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-20 11:01:20 +03:00
* 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.
25 lines
254 B
Plaintext
25 lines
254 B
Plaintext
Description:
|
|
lstat() function: return information about a file or symbolic link.
|
|
|
|
Files:
|
|
lib/lstat.c
|
|
lib/lstat.h
|
|
m4/lstat.m4
|
|
|
|
Depends-on:
|
|
stat-macros
|
|
|
|
configure.ac:
|
|
gl_FUNC_LSTAT
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
"lstat.h"
|
|
|
|
License:
|
|
LGPL
|
|
|
|
Maintainer:
|
|
Jim Meyering
|