(xreadlink_with_size): Renamed from xreadink.
* lib/xreadlink.h (xreadlink_with_size): Renamed from xreadink.
(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>
/* 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
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
/* 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
/* Written by Jim Meyering <jim@meyering.net> */
#include <stddef.h>
-char *xreadlink (char const *, size_t);
+char *xreadlink_with_size (char const *, size_t);