From 0dd12bdc0334f550c4ca45356511aea107f28d0b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 4 Nov 2003 14:42:09 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f6ae1c7ebb..5398efbea4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,42 @@ -2003-11-03 Jim Meyering +2003-11-04 Jim Meyering * Version 5.1.0. + * src/tac.c (memrchr): Remove #if-0'd function. + (tac_stdin_to_mem): Clean up #if-0'd code. + + * src/od.c (decode_format_string): Remove unnecessary casts. + Use more maintainable `sizeof *var'. + (main): Call decode_format_string rather than decode_one_format, + now that `spec' may be NULL. + + * src/chmod.c (AUTHORS): Add my name. + + * src/split.c (next_file_name): Use `sizeof *var' rather than + hard-coding `sizeof size_t'. + + * src/sort.c (new_key): Use xzalloc, not xcalloc (1, ...). + + * src/cut.c (ADD_RANGE_PAIR): Use x2nrealloc rather than xrealloc, + to avoid potential overflow in pointer arithmetic. + (set_fields): Use not `1', but rather `sizeof *printable_field' as + second argument to xcalloc. + * src/od.c (decode_format_string, dump_strings): Use x2nrealloc + rather than xrealloc. + * src/date.c (show_date): Likewise. + * src/join.c (ADD_FIELD, initseq, getseq): Likewise. + * src/pr.c (store_char): Likewise. + * src/fold.c (fold_file): Likewise. + + * src/copy.c (triple_hash, triple_hash_no_name): Adjust to reflect + type changes (unsigned int -> size_t) in hash.c. + * src/cp-hash.c (src_to_dest_hash): Likewise. + * src/du.c (entry_hash): Likewise. + * src/ls.c (dev_ino_hash): Likewise. + * src/cut.c (hash_int): Likewise. Declare function as static. + +2003-11-03 Jim Meyering + * tests/misc/Makefile.am (TESTS_ENVIRONMENT): Define PACKAGE_VERSION. * tests/misc/fold: Fail the test immediately if we're not running the expected version of fold. @@ -13,6 +48,7 @@ rather than `sizeof EXPLICIT_TYPE'. The former is more maintainable and usually shorter. * src/copy.c (copy_internal): Likewise. + * src/join.c (initseq, add_field, make_blank): Likewise. * src/od.c (main): Likewise. * src/cp.c (make_path_private): Likewise. * src/tsort.c (new_item, record_relation): Likewise. -- 2.47.2