* lib/xreadlink-with-size.c: Renamed from lib/xreadlink.c.
authorBruno Haible <bruno@clisp.org>
Wed, 28 Feb 2007 23:55:48 +0000 (23:55 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 28 Feb 2007 23:55:48 +0000 (23:55 +0000)
        (xreadlink_with_size): Renamed from xreadink.
        * lib/xreadlink.h (xreadlink_with_size): Renamed from xreadink.

ChangeLog
lib/xreadlink-with-size.c
lib/xreadlink.h

index 5fc9822..26d7289 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@
        (Makefile.am): Augment lib_SOURCES.
        * m4/xreadlink.m4: Remove file.
        * 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.
 
 2007-02-25  Jim Meyering  <jim@meyering.net>
 
index baea5b9..5524a8a 100644 (file)
@@ -1,6 +1,6 @@
 /* xreadlink.c -- readlink wrapper to return the link name in malloc'd storage
 
-   Copyright (C) 2001, 2003, 2004, 2005, 2006 Free Software
+   Copyright (C) 2001, 2003, 2004, 2005, 2006, 2007 Free Software
    Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
@@ -58,7 +58,7 @@
    give a diagnostic and exit.  */
 
 char *
-xreadlink (char const *file, size_t size)
+xreadlink_with_size (char const *file, size_t size)
 {
   /* Some buggy file systems report garbage in st_size.  Defend
      against them by ignoring outlandish st_size values in the initial
index 9fcf836..401f980 100644 (file)
@@ -1,6 +1,6 @@
 /* readlink wrapper to return the link name in malloc'd storage
 
-   Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2003, 2004, 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
@@ -20,4 +20,4 @@
 /* Written by Jim Meyering <jim@meyering.net>  */
 
 #include <stddef.h>
-char *xreadlink (char const *, size_t);
+char *xreadlink_with_size (char const *, size_t);