* 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 5fc9822e7a580caaa6b21dbdfe2a7c2d03ad4be8..26d7289e4ca500b73c99b76fde08c7b713b04efe 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 baea5b9cfbdb7b2204f39b1036c693afe9e96033..5524a8ac4d6ce01ed0ce08204757143b78d85bd7 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 9fcf836aefb774e2e3db01bb582f6a6396128fe0..401f980581a876a776732a19f0ab7196eb7d54fd 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);