Hash :
2d422a55
Author :
Date :
2023-06-30T22:54:12
quotearg: Overcome wchar_t limitations. * lib/quotearg.c: Include <uchar.h> instead of <wchar.h>, <wctype.h>. (quotearg_buffer_restyled): Use mbrtoc32, c32isprint instead of mbrtowc, iswprint. * modules/quotearg (Files): Remove m4/mbstate_t.m4, m4/mbrtowc.m4 (redundant). (Depends-on): Add uchar, mbrtoc32, c32isprint. Remove wchar, wctype-h, mbrtowc. (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/quotearg-tests (Makefile.am): Link test-quotearg with $(LIBUNISTRING) $(LIBC32CONV). * modules/quotearg-simple (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/quotearg-simple-tests (Makefile.am): Link test-quotearg-simple with $(LIBUNISTRING) $(LIBC32CONV). -- * modules/quote (Link): Add $(LIBUNISTRING) $(LIBC32CONV). -- * modules/acl (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/acl-tests (Makefile.am): Link test-set-mode-acl and test-copy-acl with $(LIBUNISTRING) $(LIBC32CONV). * modules/copy-file (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/copy-file-tests (Makefile.am): Link test-copy-file with $(LIBUNISTRING) $(LIBC32CONV). -- * modules/argmatch (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/argmatch-tests (Makefile.am): Link test-argmatch with $(LIBUNISTRING) $(LIBC32CONV). * modules/backup-rename (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/backupfile (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/human (Link): Add $(LIBUNISTRING) $(LIBC32CONV). -- * modules/sh-quote (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/sh-quote-tests (Makefile.am): Link test-sh-quote with $(LIBUNISTRING) $(LIBC32CONV). * modules/system-quote (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/system-quote-tests (Makefile.am): Link test-system-quote-main with $(LIBUNISTRING) $(LIBC32CONV). * modules/csharpcomp (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/csharpexec (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/javacomp (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/javaexec (Link): Add $(LIBUNISTRING) $(LIBC32CONV). -- * modules/string-desc-quotearg (Link): New section. * modules/string-desc-quotearg-tests (Makefile.am): Link test-string-desc-quotearg with $(LIBUNISTRING) $(LIBC32CONV). -- * modules/xmemcoll (Link): Add $(LIBUNISTRING) $(LIBC32CONV). -- * modules/closeout (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/readtokens-tests (Makefile.am): Link test-readtokens with $(LIBUNISTRING) $(LIBC32CONV). -- * modules/closein (Link): Add $(LIBUNISTRING) $(LIBC32CONV). * modules/closein-tests (Makefile.am): Link test-closein with $(LIBUNISTRING) $(LIBC32CONV). * modules/yesno-tests (Makefile.am): Link test-yesno with $(LIBUNISTRING) $(LIBC32CONV).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
Description:
Rename a file to a backup name.
Files:
lib/backup-internal.h
lib/backup-rename.c
lib/backupfile.c
lib/backupfile.h
m4/backupfile.m4
Depends-on:
argmatch
attribute
basename-lgpl
c99
closedir
d-ino
fcntl-h
ialloc
memcmp
opendirat
readdir
renameatu
stdbool
stdckdint
stdint
xalloc-oversized
configure.ac:
gl_BACKUPFILE
Makefile.am:
lib_SOURCES += backupfile.c backup-rename.c
Include:
"backupfile.h"
Link:
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(MBRTOWC_LIB)
$(LTLIBC32CONV) when linking with libtool, $(LIBC32CONV) otherwise
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering