diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-01-16 23:49:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-01-16 23:49:21 +0100 |
commit | f0007cade095c5a2878ebbb8ea8c9b40810e4509 (patch) | |
tree | cc6c2631aea42ba8ab20d26701dae099348b5b43 /lib/lstat.c | |
parent | ad17b1551241a0fbaa9f9557016cbe440cc6338b (diff) | |
download | guile-f0007cade095c5a2878ebbb8ea8c9b40810e4509.tar.gz |
Update Gnulib to v0.0-6827-g39c3009; use the `dirfd' module.
* m4/gnulib-cache.m4: Use `dirfd'.
* libguile/filesys.c: Include Gnulib's <dirent.h> directly.
(dirfd): Remove. Suggested by Bruno Haible <bruno@clisp.org>.
Diffstat (limited to 'lib/lstat.c')
-rw-r--r-- | lib/lstat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lstat.c b/lib/lstat.c index eb57d390f..fe20e61d4 100644 --- a/lib/lstat.c +++ b/lib/lstat.c @@ -1,6 +1,6 @@ /* Work around a bug of lstat on some systems - Copyright (C) 1997-2006, 2008-2011 Free Software Foundation, Inc. + Copyright (C) 1997-2006, 2008-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by @@ -51,11 +51,11 @@ orig_lstat (const char *filename, struct stat *buf) # include <errno.h> /* lstat works differently on Linux and Solaris systems. POSIX (see - `pathname resolution' in the glossary) requires that programs like - `ls' take into consideration the fact that FILE has a trailing slash + "pathname resolution" in the glossary) requires that programs like + 'ls' take into consideration the fact that FILE has a trailing slash when FILE is a symbolic link. On Linux and Solaris 10 systems, the lstat function already has the desired semantics (in treating - `lstat ("symlink/", sbuf)' just like `lstat ("symlink/.", sbuf)', + 'lstat ("symlink/", sbuf)' just like 'lstat ("symlink/.", sbuf)', but on Solaris 9 and earlier it does not. If FILE has a trailing slash and specifies a symbolic link, |