summaryrefslogtreecommitdiff
path: root/modules/readlink-tests
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-09-22 17:14:23 -0600
committerEric Blake <ebb9@byu.net>2009-09-23 05:38:57 -0600
commit5b192b3998d3b3bcea45594d180200cd44f35e3b (patch)
treedfdedaf10c4f9d97cd27d248f0fc78ecf760fd22 /modules/readlink-tests
parent7eba2f98240cd9a9c0cc81b4ebb7103bbe8630a7 (diff)
downloadgnulib-5b192b3998d3b3bcea45594d180200cd44f35e3b.tar.gz
readlink: fix cygwin 1.5.x bug with return type
On older systems, readlink returned int instead of ssize_t, making the use of readlink via function pointer harder. * m4/readlink.m4 (gl_FUNC_READLINK): Require correct signature. * lib/unistd.in.h (readlink): Use ssize_t. * lib/readlink.c (readlink): Likewise. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add witness. * modules/unistd (Makefile.am): Substitute it. * lib/unistd.in.h (readlink): Declare replacement. * doc/posix-functions/readlink.texi (readlink): Document this. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/readlink-tests')
0 files changed, 0 insertions, 0 deletions