From: Bruno Haible Date: Wed, 28 Feb 2007 23:55:48 +0000 (+0000) Subject: * lib/xreadlink-with-size.c: Renamed from lib/xreadlink.c. X-Git-Tag: cvs-readonly~956 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=f6ecfb210b3dcfd746e46a8a299b33e69193b75a;p=gnulib.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 5fc9822e7..26d7289e4 100644 --- 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 diff --git a/lib/xreadlink-with-size.c b/lib/xreadlink-with-size.c index baea5b9cf..5524a8ac4 100644 --- a/lib/xreadlink-with-size.c +++ b/lib/xreadlink-with-size.c @@ -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 diff --git a/lib/xreadlink.h b/lib/xreadlink.h index 9fcf836ae..401f98058 100644 --- a/lib/xreadlink.h +++ b/lib/xreadlink.h @@ -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 */ #include -char *xreadlink (char const *, size_t); +char *xreadlink_with_size (char const *, size_t);