diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-01 13:24:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-01 13:24:12 +0000 |
commit | 8c808cebf4e00dbb0825f973404af708e48c826a (patch) | |
tree | 8566d29d5650105d57c0059997a1286f27545e0c /lib | |
parent | 63107c9f9a225871d1be1a25f2250b10b19d0a5b (diff) | |
download | coreutils-8c808cebf4e00dbb0825f973404af708e48c826a.tar.xz |
(canonicalize_file_name): Update use of xreadlink.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/canonicalize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/canonicalize.c b/lib/canonicalize.c index 643f75b14..c1f5aacbb 100644 --- a/lib/canonicalize.c +++ b/lib/canonicalize.c @@ -1,5 +1,5 @@ /* Return the canonical absolute name of a given file. - Copyright (C) 1996-2001, 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 1996-2001, 2002, 2003, 2004 Free Software Foundation, Inc. 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 @@ -260,7 +260,7 @@ canonicalize_file_name (const char *name) } # endif /* MAXSYMLINKS */ - buf = xreadlink (rpath); + buf = xreadlink (rpath, st.st_size); if (!buf) goto error; |