Mercurial > hg > octave-lojdl > gnulib-hg
changeset 12213:d642b5a319a9
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>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Thu, 29 Oct 2009 11:44:12 -0600 |
parents | 8bf6ff9a34bd |
children | 57423bea6079 |
files | ChangeLog modules/backupfile modules/filenamecat modules/linkat modules/mkancesdirs modules/mkdir modules/mkdir-tests modules/openat modules/rename modules/rename-tests modules/savewd |
diffstat | 11 files changed, 23 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,19 @@ 2009-10-29 Eric Blake <ebb9@byu.net> + dirname-lgpl: adjust clients that don't need full dirname + * 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. + dirname: split into dirname-lgpl * modules/dirname-lgpl: New module. * modules/dirname (Files): Move library-safe files into
--- a/modules/backupfile +++ b/modules/backupfile @@ -12,7 +12,7 @@ argmatch d-ino dirent-safer -dirname +dirname-lgpl memcmp stdbool
--- a/modules/filenamecat +++ b/modules/filenamecat @@ -9,7 +9,7 @@ Depends-on: xalloc -dirname +dirname-lgpl configure.ac: gl_FILE_NAME_CONCAT
--- a/modules/linkat +++ b/modules/linkat @@ -9,7 +9,7 @@ Depends-on: areadlink areadlinkat -dirname +dirname-lgpl errno extensions fcntl-h
--- a/modules/mkancesdirs +++ b/modules/mkancesdirs @@ -7,7 +7,7 @@ m4/mkancesdirs.m4 Depends-on: -dirname +dirname-lgpl fcntl-h savewd stat-macros
--- a/modules/mkdir +++ b/modules/mkdir @@ -6,8 +6,8 @@ m4/mkdir.m4 Depends-on: +dirname-lgpl sys_stat -dirname configure.ac: gl_FUNC_MKDIR
--- a/modules/mkdir-tests +++ b/modules/mkdir-tests @@ -3,7 +3,6 @@ tests/test-mkdir.c Depends-on: -progname stdbool symlink @@ -12,4 +11,3 @@ Makefile.am: TESTS += test-mkdir check_PROGRAMS += test-mkdir -test_mkdir_LDADD = $(LDADD) @LIBINTL@
--- a/modules/openat +++ b/modules/openat @@ -16,7 +16,7 @@ m4/mode_t.m4 Depends-on: -dirname +dirname-lgpl errno extensions fchdir
--- a/modules/rename +++ b/modules/rename @@ -7,7 +7,7 @@ Depends-on: canonicalize-lgpl -dirname +dirname-lgpl lstat rmdir same-inode @@ -25,7 +25,7 @@ <stdio.h> License: -GPL +LGPL Maintainer: Jim Meyering