Mercurial > hg > octave-kai > gnulib-hg
changeset 8262:e13973f34901
* 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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 28 Feb 2007 23:55:48 +0000 |
parents | fc160b004ee8 |
children | 0b51384602a2 |
files | ChangeLog lib/xreadlink-with-size.c lib/xreadlink.h |
diffstat | 3 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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>
--- 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
--- 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 <jim@meyering.net> */ #include <stddef.h> -char *xreadlink (char const *, size_t); +char *xreadlink_with_size (char const *, size_t);