Eric Blake wrote: > I don't see renameat using stpcpy. Indeed. Committing the fix like this:
2011-05-23 Bruno Haible <br...@clisp.org> Eric Blake <ebl...@redhat.com> linkat, renameat: Update dependencies. * modules/renameat (Depends-on): Add dosname, save-cwd. Remove stpcpy. * modules/linkat (Depends-on): Likewise. Remove also readlink, symlinkat. --- modules/linkat.orig Mon May 23 21:44:26 2011 +++ modules/linkat Sat May 21 13:19:13 2011 @@ -12,6 +12,7 @@ areadlink [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] areadlinkat [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] dirname-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] +dosname [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] errno [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] fcntl-h [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] filenamecat-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] @@ -20,11 +21,9 @@ link [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] link-follow [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] lstat [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] -readlink [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] same-inode [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] -stpcpy [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] +save-cwd [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] symlink [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] -symlinkat [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1] configure.ac: gl_FUNC_LINKAT --- modules/renameat.orig Mon May 23 21:44:26 2011 +++ modules/renameat Mon May 23 21:42:54 2011 @@ -10,12 +10,13 @@ stdio extensions fcntl-h +dosname [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] getcwd-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] openat [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] rename [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] same-inode [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] -stpcpy [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] +save-cwd [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] configure.ac: gl_FUNC_RENAMEAT -- In memoriam Giovanni Falcone <http://en.wikipedia.org/wiki/Giovanni_Falcone>