Paul Eggert
f2daf2e598
import from gnulib
2002-06-26 06:17:35 +00:00
Paul Eggert
859ba730d5
coreutils 5.0 version
2002-05-27 20:05:03 +00:00
Paul Eggert
d1c27c2308
Sync with fileutils
2002-02-11 14:28:35 +00:00
Paul Eggert
9ded0a0567
Sync with fileutils
2002-02-11 14:28:09 +00:00
Paul Eggert
4bfdfaa270
allow using unicode
2002-01-26 06:04:19 +00:00
Paul Eggert
ba32aa1147
From textutils 2.1
2002-01-22 07:43:55 +00:00
Paul Eggert
bb5b309581
Sync with fileutils.
2002-01-16 22:43:41 +00:00
Paul Eggert
f762709bb0
Sync with fileutils.
2001-12-19 15:05:33 +00:00
Paul Eggert
88711e3972
(jm_AC_PREREQ_XSTRTOUMAX): Check for strtol and strtoimax,
...
as those declarations are made even in the unsigned case.
2001-09-28 17:53:12 +00:00
Paul Eggert
06384f1def
(jm_AC_PREREQ_XSTRTOIMAX): Check for strtoul and strtoumax,
...
as those declarations are made even in the signed case.
2001-09-28 17:53:12 +00:00
Paul Eggert
bab605d5bd
(strtol): Do not declare if HAVE_DECL_STRTOL.
...
(strtoul): Do not declare if HAVE_DECL_STRTOUL.
(strtoimax, strtoumax): Do not declare if already defined as a macro.
2001-09-28 06:54:20 +00:00
Paul Eggert
9c93a32114
Initial revision
2001-09-26 20:54:08 +00:00
Paul Eggert
7f1bf2e09f
just ignore them silently.
2001-09-26 20:53:42 +00:00
Paul Eggert
3847d0f51f
1.13.25
2001-09-26 20:31:11 +00:00
Paul Eggert
dd83d5dd9d
(read_header): Don't keep around extended name and link info
...
indefinitely; keep it only for the next file. This fixes a bug
introduced in 1.13.24, and remove the need for some static variables.
Set recent_long_name and recent_long_link to zero if there were no
long links; this avoids a violation of ANSI C rules for pointers in
delete.c.
2001-09-26 20:15:52 +00:00
Paul Eggert
1735867f56
new automake patch
2001-09-26 20:07:51 +00:00
Paul Eggert
fb1c65e512
know -> known
...
From: Jim Meyering <jim@meyering.net >
Date: Wed, 26 Sep 2001 19:20:10 +0200
2001-09-26 18:46:35 +00:00
Paul Eggert
1a9ace4d99
Include iconv.h before testing for EILSEQ.
2001-09-25 22:52:27 +00:00
Paul Eggert
1ad624bbbc
(EILSEQ): Include <time.h> and <wchar.h> if <errno.h> does not define
...
EILSEQ, because BSD/OS 4.1 defines EILSEQ in <wchar.h>, which requires
<time.h>. Define a replacement EILSEQ to be ENOENT, not EINVAL, since
callers may want to distinguish EINVAL and EILSEQ.
2001-09-25 18:17:36 +00:00
Paul Eggert
02a275c6ac
(maybe_recoverable): Treat OVERWRITE_OLD_DIRS like DEFAULT_OLD_FILES.
2001-09-24 18:58:52 +00:00
Paul Eggert
61170ee840
Don't assume we're using the included libintl.
2001-09-23 06:40:35 +00:00
Paul Eggert
f42a0e5af3
Version 1.13.24.
2001-09-23 06:23:14 +00:00
Paul Eggert
e6e72bf7ed
Allocate one more byte than the size would indicate, since we're
...
null-terminating.
2001-09-23 06:18:20 +00:00
Paul Eggert
1b10ab140f
(<libintl.h>): Do not include; no longer needed.
...
(_): Remove; no longer needed.
2001-09-23 05:37:04 +00:00
Paul Eggert
9a15fcf491
(write_archive_buffer, close_archive): If an archive is a socket,
...
treat it like a FIFO.
2001-09-23 05:03:42 +00:00
Paul Eggert
e2b5f1e918
Put copyright notice into documentation.
2001-09-22 00:47:09 +00:00
Paul Eggert
4dbeac6c7f
Initial revision
2001-09-22 00:47:09 +00:00
Paul Eggert
63db9071d2
Include print-copyr.h, not copysym.h.
...
(main): Use print_copyright, not copyright_symbol.
2001-09-22 00:47:09 +00:00
Paul Eggert
5a5f4d06e7
Include print-copyr.h, not copysym.h.
...
(decode_options): Use print_copyright, not copyright_symbol.
(OVERWRITE_DIR_OPTION): New constant.
(long_options, usage, decode_options): Add --overwrite-dir.
2001-09-22 00:47:09 +00:00
Paul Eggert
ec63030958
(update_archive): Pass 0 to read_header.
2001-09-22 00:47:09 +00:00
Paul Eggert
0e041a7bfe
(records_read, records_written): New vars.
...
(write_archive_to_stdout): Now bool, not int.
(open_archive, flush_write, flush_read): Keep records_read and
records_written up to date.
2001-09-22 00:47:09 +00:00
Paul Eggert
85f651c8c6
(recent_long_name, recent_long_link, recent_long_name_blocks,
...
recent_long_link_blocks): New vars.
(read_and): Pass 0 to read_header.
(read_header): New arg RAW_EXTENDED_HEADERS. Store away extended headers
into new vars. Null-terminate incoming symbolic links.
2001-09-22 00:47:09 +00:00
Paul Eggert
6c9e824ce5
(extract_archive): When marking a directory to be updated after
...
symlinks, stat all directories after it in the delayed-set-stat
list too, since they will be checked after symlinks.
Add support for --overwrite-dir.
2001-09-22 00:47:09 +00:00
Paul Eggert
95a4feb37b
(EXTRA_DIST): Remove isc-posix.m4.
2001-09-22 00:47:09 +00:00
Paul Eggert
06e4c77310
(unicode_to_mb): Return int, not void. New arg for failure callback.
...
(print_unicode_success, print_unicode_failure): New decls.
(print_unicode_char): Return int, not void.
2001-09-21 22:26:45 +00:00
Paul Eggert
a942967415
(EILSEQ, ENOTSUP): New macros, if not defined by errno.h.
...
(<error.h>): Do not include.
(unicode_to_mb): Return int, not void. New arg for failure callback.
Invoke the failure callback instead of invoking 'error'.
(print_unicode_success): Renamed from fprintf_callback. Now extern.
Return -1 on failure, 0 on success.
(print_unicode_failure): New function.
(print_unicode_char): Return int. Adjust to changes to unicode_to_mb.
Do not report error: instead, print an approximation.
2001-09-21 22:26:45 +00:00
Paul Eggert
92734c1511
Rewrite from scratch, as print-copyr.h.
2001-09-21 22:19:09 +00:00
Paul Eggert
4b5d60ef38
Rewrite from scratch, as print-copyr.c.
2001-09-21 22:19:09 +00:00
Paul Eggert
7a1b6cfa67
(extracting files): Mention --to-stdout.
...
(Option Summary, Dealing with Old Files): New option --overwrite-dir.
(Overwrite Old Files): Likewise.
2001-09-21 22:19:09 +00:00
Paul Eggert
cc818a584f
Add copyright notice.
2001-09-21 21:25:50 +00:00
Paul Eggert
45bf6a9089
Add copyright notice, autoconf 2.52 patch.
2001-09-21 21:22:15 +00:00
Paul Eggert
9957263ec4
From Jim Meyering
...
(jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of strtoumax
old
2001-09-20 18:01:32 +00:00
Paul Eggert
6fae4f6655
From Jim Meyering
...
(jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of strtoimax.
2001-09-20 18:01:32 +00:00
Paul Eggert
1589ca47d0
From Jim Meyering.
...
(strtoimax): Guard declaration with
`#if !HAVE_DECL_STRTOIMAX', rather than just `#ifndef strtoimax'.
The latter fails because some systems (at least rs6000-ibm-aix4.3.3.0)
have their own, conflicting declaration of strtoimax in sys/inttypes.h.
(strtoumax): Likewise, for completeness (it wasn't necessary).
2001-09-20 18:01:31 +00:00
Paul Eggert
e9da8d1a80
Initial revision
2001-09-20 17:08:35 +00:00
Paul Eggert
c80097bb1d
Initial revision
2001-09-17 21:44:53 +00:00
Paul Eggert
356b01119e
Include stddef.h, for size_t.
...
Include langinfo.h if needed.
Use locale_charset only if USE_INCLUDED_LIBINTL;
if not, use nl_langinfo (CODESET) if available.
2001-09-15 06:11:37 +00:00
Paul Eggert
698e5f95bf
Describe automake patch
2001-09-15 06:10:14 +00:00
Paul Eggert
8267e6ed02
Fix bug: statement before decl.
2001-09-14 02:05:00 +00:00
Paul Eggert
17a96facb7
1.13.23
2001-09-14 01:51:21 +00:00