diff options
author | Bruno Haible <bruno@clisp.org> | 2007-03-01 08:06:24 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-03-01 08:06:24 +0100 |
commit | f6f2846bd8aba934fd823e71d1de66f0d2806756 (patch) | |
tree | 0e99879409bea2527445aebab975e392f575ce61 /src/stat.c | |
parent | e5dbc718410926dac32cf55dc3061c4b9e6c4946 (diff) | |
download | coreutils-f6f2846bd8aba934fd823e71d1de66f0d2806756.tar.xz |
* bootstrap.conf (gnulib_modules): Replace xreadlink with
xreadlink-with-size. Add xreadlink.
* src/copy.c (copy_internal): Update.
* src/ls.c (is_directory): Update.
* src/stat.c (print_stat): Update.
* src/readlink.c (main): Use the one-argument xreadlink function.
Diffstat (limited to 'src/stat.c')
-rw-r--r-- | src/stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stat.c b/src/stat.c index 315fe0c65..ca8423677 100644 --- a/src/stat.c +++ b/src/stat.c @@ -1,5 +1,5 @@ /* stat.c -- display file or file system status - Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation. + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -497,7 +497,7 @@ print_stat (char *pformat, size_t prefix_len, char m, out_string (pformat, prefix_len, quote (filename)); if (S_ISLNK (statbuf->st_mode)) { - char *linkname = xreadlink (filename, statbuf->st_size); + char *linkname = xreadlink_with_size (filename, statbuf->st_size); if (linkname == NULL) { error (0, errno, _("cannot read symbolic link %s"), |