Update for xreadlink -> xreadlink-with-size rename.
authorBruno Haible <bruno@clisp.org>
Thu, 1 Mar 2007 00:39:40 +0000 (00:39 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 1 Mar 2007 00:39:40 +0000 (00:39 +0000)
ChangeLog
lib/canonicalize.c
modules/canonicalize

index 2e3930a..2382fde 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,9 @@
        * lib/xreadlink-with-size.c: Renamed from lib/xreadlink.c.
        (xreadlink_with_size): Renamed from xreadink.
        * lib/xreadlink.h (xreadlink_with_size): Renamed from xreadink.
+       * modules/canonicalize (Depends-on): Replace xreadlink with
+       xreadlink-with-size.
+       * lib/canonicalize.c (canonicalize_filename_mode): Update.
 
 2007-02-25  Jim Meyering  <jim@meyering.net>
 
index 8c48b42..48e4a23 100644 (file)
@@ -1,5 +1,5 @@
 /* Return the canonical absolute name of a given file.
-   Copyright (C) 1996-2006 Free Software Foundation, Inc.
+   Copyright (C) 1996-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
@@ -246,7 +246,7 @@ canonicalize_filename_mode (const char *name, canonicalize_mode_t can_mode)
                    goto error;
                }
 
-             buf = xreadlink (rname, st.st_size);
+             buf = xreadlink_with_size (rname, st.st_size);
              if (!buf)
                {
                  if (can_mode == CAN_MISSING)
index 4275f32..4d7174a 100644 (file)
@@ -13,7 +13,7 @@ filenamecat
 sys_stat
 xalloc
 xgetcwd
-xreadlink
+xreadlink-with-size
 
 configure.ac:
 AC_FUNC_CANONICALIZE_FILE_NAME