diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-01 13:36:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-01 13:36:20 +0000 |
commit | b99bf39b10b7c2d1eda55ca0c03cc4a9d93333dd (patch) | |
tree | bf8188fa809a9178ff79a58d16e0fe7530f91dd6 /src | |
parent | 50a5f71804f7a038b41dd46094507c74f4825783 (diff) | |
download | coreutils-b99bf39b10b7c2d1eda55ca0c03cc4a9d93333dd.tar.xz |
(get_link_name): Update use of xreadlink.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2641,7 +2641,7 @@ gobble_file (const char *name, enum filetype type, int explicit_arg, static void get_link_name (const char *filename, struct fileinfo *f) { - f->linkname = xreadlink (filename); + f->linkname = xreadlink (filename, f->stat.st_size); if (f->linkname == NULL) { error (0, errno, _("cannot read symbolic link %s"), |