summaryrefslogtreecommitdiff
path: root/modules/filenamecat-lgpl
Commit message (Collapse)AuthorAgeFilesLines
* filenamecat-lgpl: Trim module dependencies.Bruno Haible2020-07-051-1/+2
| | | | | | | * lib/filenamecat-lgpl.c: Include basename-lgpl.h, filename.h instead of dirname.h. * modules/filenamecat-lgpl (Depends-on): Remove dirname-lgpl. Add basename-lgpl, filename.
* filenamecat-lgpl: Set errno upon failure.Bruno Haible2020-06-271-0/+1
| | | | | | * lib/filenamecat-lgpl.c (mfile_name_concat): Document the failure return convention. * modules/filenamecat-lgpl (Depends-on): Add malloc-posix.
* Add missing C99 dependencies.Bruno Haible2020-05-251-0/+1
| | | | | | | | | | | | | | | | Reported by Paul Smith <psmith@gnu.org> in <https://lists.gnu.org/archive/html/bug-gnulib/2020-05/msg00290.html>. * modules/assert (Depends-on): Add c99. * modules/filenamecat-lgpl (Depends-on): Likewise. * modules/libc-config (Depends-on): Likewise. * modules/mktime (Depends-on): Likewise. * modules/random_r (Depends-on): Likewise. * modules/regex (Depends-on): Likewise. * modules/scratch_buffer (Depends-on): Likewise. * modules/timespec-add (Depends-on): Likewise. * modules/timespec-sub (Depends-on): Likewise. * modules/verify (Depends-on): Likewise.
* filenamecat*: Respect rules for use of AC_LIBOBJ.Bruno Haible2011-06-161-0/+1
| | | | | | | * m4/filenamecat.m4 (gl_FILE_NAME_CONCAT, gl_FILE_NAME_CONCAT_LGPL): Remove AC_LIBOBJ invocation. * modules/filenamecat (Makefile.am): Augment lib_SOURCES. * modules/filenamecat-lgpl (Makefile.am): Augment lib_SOURCES.
* filenamecat-lgpl: fix licenceEric Blake2011-04-271-1/+1
| | | | | | | | | | http://lists.gnu.org/archive/html/bug-gnulib/2009-10/msg00299.html talked about splitting out LGPLv2+ portions of existing modules. * modules/filenamecat-lgpl (License): Mark as LGPLv2+, as intended when it was first created. Signed-off-by: Eric Blake <eblake@redhat.com>
* filenamecat: split into filenamecat-lgplEric Blake2009-10-291-0/+24
The concept of filenamecat is simple enough to use in an LGPL manner, even though current clients are GPL for other reasons. At any rate, it is nice to separate mfile_name_concat into its own file so that the linker does not fail without xalloc_die. * modules/filenamecat-lgpl: New module. * modules/filenamecat (Files): Move library-safe files into filenamecat-lgpl. (Depends-on): Add filenamecat-lgpl. (configure.ac): Declare witness. * lib/filenamecat.h (file_name_concat): Only declare when using GPL module. * lib/filenamecat.c (longest_relative_suffix, mfile_name_concat): Move... * lib/filenamecat-lgpl.c: ...into new file. * m4/filenamecat.m4 (gl_FILE_NAME_CONCAT_LGPL): New macro. (gl_FILE_NAME_CONCAT): Use it. * MODULES.html.sh (File system functions): Mention new module. Signed-off-by: Eric Blake <ebb9@byu.net>