1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00
Files
gnulib/modules/rename
Bruno Haible 3dbfcbf5ed rename: Use issymlink.
* lib/rename.c (rpl_rename): Use issymlink instead of readlink.
* modules/rename (Depends-on): Remove readlink. Add issymlink.
2025-08-15 00:23:32 +02:00

40 lines
882 B
Plaintext

Description:
rename() function: change the name or location of a file.
Files:
lib/rename.c
m4/rename.m4
Depends-on:
stdio-h
canonicalize-lgpl [test $REPLACE_RENAME = 1]
chdir [test $REPLACE_RENAME = 1]
dirname-lgpl [test $REPLACE_RENAME = 1]
free-posix [test $REPLACE_RENAME = 1]
issymlink [test $REPLACE_RENAME = 1]
lstat [test $REPLACE_RENAME = 1]
rmdir [test $REPLACE_RENAME = 1]
same-inode [test $REPLACE_RENAME = 1]
stat [test $REPLACE_RENAME = 1]
bool [test $REPLACE_RENAME = 1]
strdup [test $REPLACE_RENAME = 1]
configure.ac:
gl_FUNC_RENAME
gl_CONDITIONAL([GL_COND_OBJ_RENAME], [test $REPLACE_RENAME = 1])
gl_STDIO_MODULE_INDICATOR([rename])
Makefile.am:
if GL_COND_OBJ_RENAME
lib_SOURCES += rename.c
endif
Include:
<stdio.h>
License:
LGPLv2+
Maintainer:
Jim Meyering