Hash :
90cff1db
Author :
Date :
2009-10-29T11:44:12
dirname-lgpl: adjust clients that don't need full dirname Some of these modules still use xalloc_die from other paths, but mkdir and rename are definitely reduced in complexity. * modules/backupfile (Depends-on): Use dirname-lgpl, not dirname. * modules/filenamecat (Depends-on): Likewise. * modules/linkat (Depends-on): Likewise. * modules/mkancesdirs (Depends-on): Likewise. * modules/mkdir (Depends-on): Likewise. * modules/openat (Depends-on): Likewise. * modules/savewd (Depends-on): Likewise. * modules/rename (Depends-on): Likewise. (License): Relax license. * modules/mkdir-tests (Depends-on): Drop progname. (Makefile.am): Delete unneeded LDADD. * modules/rename-tests (Depends-on, Makefile.am): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Description:
rename() function: change the name or location of a file.
Files:
lib/rename.c
m4/rename.m4
Depends-on:
canonicalize-lgpl
dirname-lgpl
lstat
rmdir
same-inode
stdbool
stdio
strdup
configure.ac:
gl_FUNC_RENAME
gl_STDIO_MODULE_INDICATOR([rename])
Makefile.am:
Include:
<stdio.h>
License:
LGPL
Maintainer:
Jim Meyering