diff options
| author | Jim Meyering <jim@meyering.net> | 2007-06-18 11:17:30 +0200 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2007-06-18 15:19:34 +0200 |
| commit | 0adc02a086c8a40bad3191d14b8612aae5ee9995 (patch) | |
| tree | 504a0aa1a0037ede3ed2d781bafff966c06b394c /src/readlink.c | |
| parent | * README-hacking: Don't mention Gzip 1.2.4, now that 1.3.12 is out. (diff) | |
| download | coreutils-0adc02a086c8a40bad3191d14b8612aae5ee9995.tar.gz coreutils-0adc02a086c8a40bad3191d14b8612aae5ee9995.zip | |
Use mreadlink_with_size (doesn't exit), not xreadlink_with_size.
* bootstrap.conf (gnulib_modules): Add readlink-with-size.
Remove xreadlink and xreadlink-with-size.
* src/copy.c (copy_internal): Use mreadlink_with_size,
not xreadlink_with_size.
* src/ls.c (get_link_name): Likewise.
* src/readlink.c (main): Likewise.
* src/stat.c (print_stat): Likewise.
Diffstat (limited to 'src/readlink.c')
| -rw-r--r-- | src/readlink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/readlink.c b/src/readlink.c index 0961d235c..4a410bb00 100644 --- a/src/readlink.c +++ b/src/readlink.c @@ -1,5 +1,5 @@ /* readlink -- display value of a symbolic link. - Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2002-2007 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 @@ -25,7 +25,7 @@ #include "system.h" #include "canonicalize.h" #include "error.h" -#include "xreadlink.h" +#include "mreadlink.h" #include "quote.h" /* The official name of this program (e.g., no `g' prefix). */ @@ -159,7 +159,7 @@ main (int argc, char **argv) value = (can_mode != -1 ? canonicalize_filename_mode (fname, can_mode) - : xreadlink (fname)); + : mreadlink_with_size (fname, 63)); if (value) { printf ("%s%s", value, (no_newline ? "" : "\n")); |
