mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
* modules/chdir: New file. * lib/unistd.in.h: Include <io.h>, <direct.h> also for chdir. (chdir): New declaration. * m4/unistd_h.m4 (gl_UNISTD_H): Test whether chdir is declared. (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_CHDIR. * modules/unistd (Makefile.am): Substitute GNULIB_CHDIR. * tests/test-unistd-c++.cc: Check signature of chdir. * doc/posix-functions/chdir.texi: Mention problem on native Windows. * modules/chdir-long (Depends-on): Add chdir. * modules/fchdir (Depends-on): Likewise. * modules/rename (Depends-on): Likewise. * modules/savewd (Depends-on): Likewise.
36 lines
687 B
Plaintext
36 lines
687 B
Plaintext
Description:
|
|
rename() function: change the name or location of a file.
|
|
|
|
Files:
|
|
lib/rename.c
|
|
m4/rename.m4
|
|
|
|
Depends-on:
|
|
stdio
|
|
canonicalize-lgpl [test $REPLACE_RENAME = 1]
|
|
chdir [test $REPLACE_RENAME = 1]
|
|
dirname-lgpl [test $REPLACE_RENAME = 1]
|
|
lstat [test $REPLACE_RENAME = 1]
|
|
rmdir [test $REPLACE_RENAME = 1]
|
|
same-inode [test $REPLACE_RENAME = 1]
|
|
stdbool [test $REPLACE_RENAME = 1]
|
|
strdup [test $REPLACE_RENAME = 1]
|
|
|
|
configure.ac:
|
|
gl_FUNC_RENAME
|
|
if test $REPLACE_RENAME = 1; then
|
|
AC_LIBOBJ([rename])
|
|
fi
|
|
gl_STDIO_MODULE_INDICATOR([rename])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<stdio.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
Jim Meyering
|