Commit Graph

673 Commits

Author SHA1 Message Date
Paul Eggert
bec3001dcb Comment fix. 2001-08-28 20:29:12 +00:00
Paul Eggert
7fec439aff Update comment. 2001-08-28 20:04:21 +00:00
Paul Eggert
dc7b579e9c Describe changes a bit more carefully. Put copyright notice at end. 2001-08-27 18:17:25 +00:00
Paul Eggert
3cb3f66c92 (out): Remove directory/subdirectory/file1, as the new semantics for
--exclude exclude it.
2001-08-27 17:32:44 +00:00
Paul Eggert
17afd0438f (ANCHORED_OPTION, IGNORE_CASE_OPTION, NO_ANCHORED_OPTION,
NO_IGNORE_CASE_OPTION, NO_WILDCARDS_OPTION, NO_WILDCARDS_MATCH_SLASH_OPTION,
WILDCARDS_OPTION, WILDCARDS_MATCH_SLASH_OPTION): New enum values.

(long_options, usage, decode_options): Add support for --anchored,
--ignore-case, --no-anchored, --no-ignore-case, --no-wildcards,
--no-wildcards-match-slash, --recursion, --wildcards,
--wildcards-match-slash.

(decode_options): Implement the new way of interpreting exclude patterns.

(usage): --newer-mtime takes a DATE operand.  DATE may be a file name.

(OPTION_STRING, decode_options): Add -I, -y.  Currently these options
just print error messages suggesting alternatives.

(add_filtered_exclude): Remove.
2001-08-27 14:41:56 +00:00
Paul Eggert
998ecf08c0 (base_name): Remove decl, as system.h now declares it. 2001-08-27 14:35:06 +00:00
Paul Eggert
4f07b06506 (collect_and_sort_names): If ignore_failed_read_option, only warn about
stat errors.

(excluded_name): Now returns bool.  Simplify, as the fancy features are
now all in excluded_filename.
2001-08-27 14:34:24 +00:00
Paul Eggert
a52396de9b (from_header): Do not issue a diagnostic if TYPE is zero.
However, check for error even for '-' or '+' case.

(print_header): Try parsing uids and gids as unsigned integers first,
and as a uid_t or gid_t only if that fails.  This adds support for
listing positive uids and gids that are greater than UID_MAX and
GID_MAX.
2001-08-27 14:32:51 +00:00
Paul Eggert
a7cd57a91d (struct delayed_symlinks, extract_archive, apply_delayed_symlinks):
Support hard links to symbolic links.

(struct delayed_symlink): Remove 'names' member, replacing it with
'sources' and 'target' member.  All uses changed.

(struct string_list): New type.

(delayed_set_stat, extract_archive): Use offsetof when computing sizes
for struct hack; this avoids wasted space in some cases.

(extract_archive): Fix test for absolute pathnames and/or "..".
Use link_error to report errors for links.
Remove redundant trailing '/' at "really_dir", for all uses, not
just before invoking mkdir.
If overwriting old files, do not worry so much about existing directories.
Fix mode computation in the case where the directory exists.

(apply_delayed_symlinks): If we can't make a hard link to a symbolic
link, make a copy of the symbolic link.
2001-08-27 14:27:54 +00:00
Paul Eggert
58e97f92d3 (new_volume): Stop if the script exits with an error. 2001-08-27 14:14:17 +00:00
Paul Eggert
52b27333b4 (jm_AC_PREREQ_XSTRTOUMAX): Remove jm_AC_HEADER_INTTYPES_H, as it
is now subsumed by autoconf.  Add inttypes.h.
2001-08-27 14:13:22 +00:00
Paul Eggert
112523174a Upgrade to autoconf 2.5x. 2001-08-27 14:09:08 +00:00
Paul Eggert
a26ec5fe0a (EXTRA_DIST): Add check-decl.m4, mbrtowc.m4.
Remove inttypes_h.m4, largefile.m4, mktime.m4.
2001-08-27 14:06:01 +00:00
Paul Eggert
13b9e5afc8 Add copyright notice.
(_DECLARE_XSTRTOL): Improve quality of diagnostic for
LONGINT_INVALID_SUFFIX_CHAR.
2001-08-27 14:05:15 +00:00
Paul Eggert
255c8a9880 Include <string.h>; required for C99 since we use strlen. 2001-08-27 00:41:28 +00:00
Paul Eggert
4288103c2e Put leading '*' in direntry.
Accommodate new gfdl sectioning.
New option --recursion (the default) that is the inverse of --no-recursion.

New options --anchored, --ignore-case, --wildcards,
--wildcards-match-slash, and their negations (e.g., --no-anchored).
Along with --recursion and --no-recursion, these control how exclude
patterns are interpreted.  The default interpretation of exclude
patterns is now --no-anchored --no-ignore-case --recursion
--wildcards --wildcards-match-slash.
2001-08-27 00:02:27 +00:00
Paul Eggert
927c0ccf13 More security problems fixes; new options for --exclude. 2001-08-26 23:56:07 +00:00
Paul Eggert
3698b9585b Add copyright notice. ignfail.sh fails on some NFS hosts. 2001-08-26 23:54:59 +00:00
Paul Eggert
3c55a24e88 Initial revision 2001-08-26 07:20:05 +00:00
Paul Eggert
c74b3c3fb7 Initial revision 2001-08-26 06:58:10 +00:00
Paul Eggert
48ff44dfc7 serial 20 2001-08-23 17:25:23 +00:00
Paul Eggert
182cfd7d04 Latest textutils version 2001-08-23 17:25:22 +00:00
Paul Eggert
27076d4e40 serial 3 2001-08-23 17:25:15 +00:00
Paul Eggert
346ea2f2ce Quote the first argument in each use of AC_DEFUN. 2001-08-23 17:25:13 +00:00
Paul Eggert
f17ce7b6ae Initial revision 2001-08-23 17:25:11 +00:00
Paul Eggert
01244cf133 glibc version. 2001-08-21 02:56:57 +00:00
Paul Eggert
f8bb2bcc73 Initial revision 2001-08-18 15:59:02 +00:00
Paul Eggert
d59ee51590 Start a new file, with Eric Roesinger's suggestion 2001-07-29 03:52:57 +00:00
Paul Eggert
211be7f46d gettext 0.10.39 2001-07-24 12:59:36 +00:00
Paul Eggert
4ae648023c (alloca): Arg is of type size_t, not unsigned. 2001-07-08 19:08:50 +00:00
Paul Eggert
fae274abc3 Initial revision 2001-05-18 15:06:54 +00:00
Paul Eggert
0a4cfe3e6c (get_date): Initialize tm_isdst to -1 before invoking mktime the last time. 2001-04-08 19:58:59 +00:00
Paul Eggert
e873bb4ed8 Initial revision 2001-04-03 15:18:12 +00:00
Paul Eggert
701add9772 Fix wording one more time. 2001-02-17 00:59:27 +00:00
Paul Eggert
01a51971db Check for mbstate_t, too. 2001-02-17 00:35:11 +00:00
Paul Eggert
abe46d28b9 Use shorter message. 2001-02-17 00:19:57 +00:00
Paul Eggert
27addf0e3f Initial revision 2001-02-17 00:19:02 +00:00
Paul Eggert
11c437d44b (malloc): Undef before defining. 2001-02-16 18:57:56 +00:00
Paul Eggert
107e9fad31 Quote error message. 2001-01-26 11:13:28 +00:00
Paul Eggert
d5c599707a -I has been withdrawn.
-N can now take file names.
2001-01-13 07:34:26 +00:00
Paul Eggert
b6e04fa518 (savedir): Remove size arg. 2001-01-13 06:11:36 +00:00
Paul Eggert
0ca532a59c Add @setchapternewpage odd.
Remove -I as an alias for -T, for now.
Add @dircategory.
Update copyright.  Remove "Published by".
Dates beginning with / or . are taken to be file names.
2001-01-13 06:04:48 +00:00
Paul Eggert
8bfa7852ec system.h now does time.h stuff. 2001-01-13 05:59:29 +00:00
Paul Eggert
188ff43355 Mention that only English is supported.
Show how to use "date" so that the output is acceptable to getdate.
Mention Z as an abbreviation for UTC.
2001-01-13 05:59:29 +00:00
Paul Eggert
b4c3a9637b Initial revision 2001-01-13 05:59:29 +00:00
Paul Eggert
649897fb75 Include full-write.h.
(main): Update copyright.
2001-01-13 05:59:29 +00:00
Paul Eggert
56147d0b43 Include full-write.h. 2001-01-13 05:59:29 +00:00
Paul Eggert
ff7194169a Include full-write.h, not safe-read.h.
full_write returns size_t, with short writes meaning failure.
All callers changed.
2001-01-13 05:59:29 +00:00
Paul Eggert
d32dfe5d5e (time): Do not declare.
(usage): Remove -I as an alias for -T>
(OPTION_STRING): Remove -I.
(decode_options): Dates that look like an absolute path name,
or that start with '.', are presumed to be file names whose
dates are taken.
Remove 'I' as an aliase for 'T'.
Update copyright.
2001-01-13 05:59:29 +00:00
Paul Eggert
df72d04b36 (savedir): Remove size arg; it wasn't portable. All callers changed. 2001-01-13 05:59:29 +00:00