changeset 8264:4dfb3310f018

Update for xreadlink -> xreadlink-with-size rename.
author Bruno Haible <bruno@clisp.org>
date Thu, 01 Mar 2007 00:39:40 +0000
parents 0b51384602a2
children 20006894dae4
files ChangeLog lib/canonicalize.c modules/canonicalize
diffstat 3 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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>
 
--- a/lib/canonicalize.c
+++ b/lib/canonicalize.c
@@ -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 @@
 		    goto error;
 		}
 
-	      buf = xreadlink (rname, st.st_size);
+	      buf = xreadlink_with_size (rname, st.st_size);
 	      if (!buf)
 		{
 		  if (can_mode == CAN_MISSING)
--- a/modules/canonicalize
+++ b/modules/canonicalize
@@ -13,7 +13,7 @@
 sys_stat
 xalloc
 xgetcwd
-xreadlink
+xreadlink-with-size
 
 configure.ac:
 AC_FUNC_CANONICALIZE_FILE_NAME