summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-08-31(change_dir_mode): Remove statp arg; no longer needed.Jim Meyering
2001-08-31(change_dir_owner): Remove statp arg; no longer needed.Jim Meyering
2001-08-31Do not include savedir.h; not used.Jim Meyering
2001-08-31(savedir): Remove size parameter, as POSIX says thatJim Meyering
a directory's st_size can have an arbitrary value, so the old usage could waste an arbitrary amount of memory. All uses changed.
2001-08-31Update prototype.Jim Meyering
2001-08-31*** empty log message ***Jim Meyering
2001-08-31(strtoimax): New decl.Jim Meyering
2001-08-31*** empty log message ***Jim Meyering
2001-08-31* lib/xstrtol.h: Add copyright notice.Jim Meyering
(_DECLARE_XSTRTOL): Improve quality of diagnostic for LONGINT_INVALID_SUFFIX_CHAR.
2001-08-31*** empty log message ***Jim Meyering
2001-08-31BSD/OS 4.1 wchar.h requires FILE and struct tm to be declared.Jim Meyering
2001-08-31*** empty log message ***Jim Meyering
2001-08-31Remove '2001' from copyright notice.Jim Meyering
2001-08-31*** empty log message ***Jim Meyering
2001-08-31Include full-write.h.Jim Meyering
(full_write): Remove decl; not needed.
2001-08-31copyrightJim Meyering
2001-08-31Include full-write.h.Jim Meyering
(full_write): Remove decl; not needed. (simple_cat, cat): Don't assume read and write size fits in int.
2001-08-31*** empty log message ***Jim Meyering
2001-08-31(full_write): Remove decl; not needed.Jim Meyering
2001-08-31*** empty log message ***Jim Meyering
2001-08-31copyrightJim Meyering
2001-08-31Include full-write.h.Jim Meyering
2001-08-31*** empty log message ***Jim Meyering
2001-08-31(libfetish_a_SOURCES): Add full-write.h.Jim Meyering
2001-08-31Correct credits, as cccp.c no longerJim Meyering
exists and anyway it was so heavily changed from the old cccp code as to be unrecognizable. Include full-write.h. (full_write) Return size_t, with short writes meaning failure. All callers changed. This fixes a bug with large buffers on 64-bit hosts.
2001-08-31(full_write): Remove decl; not needed.Jim Meyering
2001-08-31(full_write): Remove decl; not needed.Jim Meyering
2001-08-31Include full-write.h.Jim Meyering
(full_write): Remove decl; not needed. (open_fd): Don't assume read and write size fits in int.
2001-08-31Include full-write.h.Jim Meyering
(full_write): Remove decl; not needed. (copy_reg): Don't assume read and write size fits in int.
2001-08-31*** empty log message ***Jim Meyering
2001-08-31(jm_PREREQ): Add jm_PREREQ_EXCLUDE.Jim Meyering
(jm_PREREQ_EXCLUDE): New macro.
2001-08-31* src/remove.c: Move true/false definitions and include from here...Jim Meyering
* src/system.h: ...to here.
2001-08-31copyrightJim Meyering
2001-08-31(count_entry, main): Reflect changes to the exclude functions.Jim Meyering
2001-08-31*** empty log message ***Jim Meyering
2001-08-31(EXCLUDE_ANCHORED, EXCLUDE_INCLUDE,EXCLUDE_WILDCARDS): New macros.Jim Meyering
(free_exclude): New decl. (add_exclude, add_exclude_file): Now takes int options arg. (excluded_filename): No longer requires options arg, as the options are determined by add_exclude. Now returns bool, not int.
2001-08-31Merge 'exclude' changes from tar 1.13.22.Jim Meyering
This fixes one or two unlikely storage allocation overflow bugs, but doesn't change user-visible behavior otherwise. (bool): Declare, perhaps by including stdbool.h. (<sys/types.h>): Include only if HAVE_SYS_TYPES_H. (<stdlib.h>, <string.h>, <strings.h>, <inttypes.h>, <stdint.h>): Include if available. (<xalloc.h>): Include (SIZE_MAX): Define if <stdint.h> or <inttypes.h> doesn't. (verify): New macro. Use it to verify that EXCLUDE macros do not collide with FNM macros. (struct patopts): New struct. (struct exclude): Use it, as exclude patterns now come with options. (new_exclude): Support above changes. (new_exclude, add_exclude_file): Initial size must now be a power of two to simplify overflow checking. (free_exclude, fnmatch_no_wildcards): New function. (excluded_filename): No longer requires options arg, as the options are determined by add_exclude. Now returns bool, not int. (excluded_filename, add_exclude): Add support for the fancy new exclusion options. (add_exclude, add_exclude_file): Now takes int options arg. Check for arithmetic overflow when computing sizes. (add_exclude_file): xrealloc might modify errno, so don't realloc until after errno might be used.
2001-08-30*** empty log message ***Jim Meyering
2001-08-30(alloca): Arg is of type size_t, not unsigned.Jim Meyering
2001-08-28*** empty log message ***Jim Meyering
2001-08-28(main): Diagnose an invalid width option.Jim Meyering
2001-08-28*** empty log message ***Jim Meyering
2001-08-28(main): Correct the diagnostic for invalid argument to -w.Jim Meyering
2001-08-27#define STRTOUXMAX_UNSIGNEDJim Meyering
2001-08-27whoops. Don't define anything here. imax is the defaultJim Meyering
2001-08-27*** empty log message ***Jim Meyering
2001-08-27Undo last change. Instead, simply remove `N_('.Jim Meyering
2001-08-27.Jim Meyering
2001-08-27remove xstrtoxmax.cJim Meyering
2001-08-27*** empty log message ***Jim Meyering