summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2001-08-27(libfetish_a_SOURCES): Add strtoxmax.cJim Meyering
2001-08-27Actually remove the definition of N_.Jim Meyering
2001-08-27(N_): Remove definition.Jim Meyering
Revert most of last change. Instead, simply don't mark the `Copyright...' string for translation. Based on advice from Paul Eggert.
2001-08-27*** empty log message ***Jim Meyering
2001-08-27Tweak comment.Jim Meyering
2001-08-27include strtoxmax.cJim Meyering
2001-08-27renamed to strtoxmax.cJim Meyering
2001-08-27renamed from strtouxmax.cJim Meyering
2001-08-26(copyright-check): Update to reflect fact thatJim Meyering
the copyright year is now defined separately.
2001-08-26*** empty log message ***Jim Meyering
2001-08-26(version_etc_copyright_fmt): Replace literal yearJim Meyering
of copyright with `%s' so translators don't get an untranslated message in 2002. (COPYRIGHT_YEAR): Define. (version_etc): Use fprintf rather than fputs.
2001-08-26.Jim Meyering
2001-08-26.Jim Meyering
2001-08-26.Jim Meyering
2001-08-26.Jim Meyering
2001-08-26Add xstrtoimax.Jim Meyering
2001-08-26*** empty log message ***Jim Meyering
2001-08-26(libfetish_a_SOURCES): Add xstrtoimax.c.Jim Meyering
2001-08-26.Jim Meyering
2001-08-26*** empty log message ***Jim Meyering
2001-08-26New file, from GNU libc.Jim Meyering
2001-08-26*** empty log message ***Jim Meyering
2001-08-26Require jm_AC_PREREQ_XSTRTOIMAX.Jim Meyering