diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 19:42:01 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 19:42:01 +0000 |
commit | c1bbe24045ae919d1fc2dbf225d030828632c7c8 (patch) | |
tree | 7b7f98e411234f2cc396dd122908083c3f4e85ee /src | |
parent | 787b4d50d058af57988cd19dae05093d9ae9da09 (diff) | |
download | coreutils-c1bbe24045ae919d1fc2dbf225d030828632c7c8.tar.xz |
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.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions