diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-05 21:30:33 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-10-05 21:34:28 -0600 |
commit | cdba659e0746e0d7c6ecbcabfbb25132f5418a38 (patch) | |
tree | bdccd092a9742d8001c7783a9b58da4b9a0e47e7 /modules/linkat | |
parent | 38742aee633001eca07469834ce365df511359ca (diff) | |
download | gnulib-cdba659e0746e0d7c6ecbcabfbb25132f5418a38.tar.gz |
linkat: support Linux 2.6.17
* m4/linkat.m4 (gl_FUNC_LINKAT): Default to always replacing
linkat on Linux, but allow cache variable override.
* lib/linkat.c (rpl_linkat): Define override.
* modules/linkat (Depends-on): Add symlinkat.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add new default.
* modules/unistd (Makefile.am): Substitute it.
* lib/unistd.in.h (linkat): Declare replacement.
Reported by Pádraig Brady.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/linkat')
-rw-r--r-- | modules/linkat | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/linkat b/modules/linkat index 8d9dec3417..6b56144dcf 100644 --- a/modules/linkat +++ b/modules/linkat @@ -21,6 +21,7 @@ readlink same-inode stpcpy symlink +symlinkat unistd configure.ac: |