]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Add an FSF copyright notice, since our changes are becoming nontrivial.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 19:42:01 +0000 (19:42 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 19:42:01 +0000 (19:42 +0000)
commitc1bbe24045ae919d1fc2dbf225d030828632c7c8
tree7b7f98e411234f2cc396dd122908083c3f4e85ee
parent787b4d50d058af57988cd19dae05093d9ae9da09
Add an FSF copyright notice, since our changes are becoming nontrivial.
Include stdint.h if available, as Autoconf suggests.
(ALIGNBYTES, ALIGN): Remove; no longer needed now that fts_statp
is an array.
(fts_alloc, fts_palloc, fts_sort, fts_load, fts_build):
Use size_t for sizes.
(fts_stat, fts_safe_changedir, fts_debug, fts_read, fts_build,
fts_palloc):
Use bool when appropriate.
(SIZE_MAX, TYPE_SIGNED): New macros.
(fts_read): Use u_short for instructions.
(fts_build): Use ptrdiff_t for levels.  Don't assume file name lengths
fit into int.  Don't assume nlink_t is signed.
(find_matching_ancestor): Don't assume dev, ino fit in int.
(fts_stat): Use function prototype; required for bool arg.
(fts_sort): Detect integer overflow in size calculations.
(fts_alloc): Simplify allocation code, now that fts_statp is an array
and not a pointer.
lib/fts.c