rename: modernize replacement upstream/20090908+c5c46dc
authorEric Blake <ebb9@byu.net>
Mon, 7 Sep 2009 17:27:05 +0000 (11:27 -0600)
committerEric Blake <ebb9@byu.net>
Mon, 7 Sep 2009 17:27:05 +0000 (11:27 -0600)
commitc5c46dcc8e875485a2c5d27cce106491fb41400e
tree40b1937f77d493ed1dc8553351c3e789b7cb88cd
parent1132a93bd6177115d1047846c62dc96fb7facb56
rename: modernize replacement

* modules/rename (Depends-on): Add stdio.
(configure.ac): Declare witness.
* m4/rename.m4 (gl_FUNC_RENAME): Ensure dependency order, and let
stdio take care of replacement.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Add new defaults.
* modules/stdio (Makefile.am): Substitute them.
* lib/stdio.in.h (rename): Declare replacement.
* lib/rename.c (includes): Allow cross-compilation to non-windows
machines.
* doc/posix-functions/rename.texi (rename): Improve
documentation.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
doc/posix-functions/rename.texi
lib/rename.c
lib/stdio.in.h
m4/rename.m4
m4/stdio_h.m4
modules/rename
modules/stdio