aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xreadlink.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2006-08-21Remove from CVS, since the bootstrap script generates them automatically.Paul Eggert1-91/+0
2005-09-22Sync from gnulib.Paul Eggert1-1/+1
2005-07-02Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.Jim Meyering1-3/+1
2005-06-02Don't use "path" or "filename" to mean "file name"Paul Eggert1-4/+4
in comments or local variable names.
2005-05-14Update FSF postal mail address.Jim Meyering1-1/+1
2004-11-03Sync from gnulib.Paul Eggert1-1/+3
2004-11-03Sync from gnulib.Paul Eggert1-6/+12
2004-08-02(errno): Remove decl; we now assume C89 or better.Paul Eggert1-4/+0
2004-06-01Include xreadlink.h first, to catch .h file dependency problems.Jim Meyering1-5/+8
2003-11-21(xreadlink): Correct outdated comment.Jim Meyering1-1/+1
2003-09-13Update from gnulib.Jim Meyering1-3/+1
2003-07-04Include <sys/types.h> unconditionally, instead ofJim Meyering1-3/+1
having it depend on HAVE_SYS_TYPES_H.
2003-06-06Update from gnulib.Jim Meyering1-4/+2
2001-12-09(xreadlink): Add cast to avoid a warning.Jim Meyering1-1/+1
2001-10-21whoops! fix comment on first line :-)Jim Meyering1-1/+1
2001-09-04(xreadlink): Omit size_t* arg. All uses changed.Jim Meyering1-7/+18
Use ssize_t, not int, to store result of readlink. Check for ssize_t overflow as well as size_t overflow, as POSIX says the result of readlink is implementation-defined when ssize_t overflows. Remove unnecessary cast to char*. Use free+malloc instead of realloc, as the storage doesn't need to be preserved and it's clearer and can be more efficient that way. (SIZE_MAX, SSIZE_MAX): New macros, if <limits.h> doesn't declare.
2001-09-03include errno.h etc, tooJim Meyering1-0/+5
2001-09-03tweak commentJim Meyering1-1/+1
2001-09-03(xreadlink): Preserve errno around `free' during failure.Jim Meyering1-0/+2
2001-09-03update comment re power of 2Jim Meyering1-1/+3
2001-09-01*** empty log message ***Jim Meyering1-0/+72