1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-02 13:59:49 +02:00
Jim Meyering 083a5e420b Merge 'exclude' changes from tar 1.13.22.
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-31 06:33:42 +00:00
.
2001-08-26 10:43:53 +00:00
.
2001-08-26 10:54:59 +00:00
2001-08-28 08:33:05 +00:00
.
2001-08-26 10:46:20 +00:00
2001-08-25 05:42:07 +00:00
S
Description
These are the GNU core utilities. This package is the union of the GNU fileutils, sh-utils, and textutils packages.
102 MiB
Languages
C 56.4%
Shell 27.7%
Perl 11.6%
Makefile 2.2%
M4 0.9%
Other 1.2%