Mercurial > hg > octave-nkf > gnulib-hg
comparison modules/unistd @ 12120:0bc26baea4bf
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>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Mon, 05 Oct 2009 21:30:33 -0600 |
parents | 14cddb59cb05 |
children | 6a41b8f5f874 |
comparison
equal
deleted
inserted
replaced
12119:05827892a9c4 | 12120:0bc26baea4bf |
---|---|
92 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ | 92 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ |
93 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ | 93 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ |
94 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ | 94 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ |
95 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ | 95 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ |
96 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ | 96 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ |
97 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ | |
97 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ | 98 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ |
98 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ | 99 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ |
99 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ | 100 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ |
100 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ | 101 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ |
101 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ | 102 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ |