Commit Graph

17220 Commits

Author SHA1 Message Date
Jim Meyering 6ffc95a9e3 (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.
2003-11-04 06:28:01 +00:00
Jim Meyering 26809f0450 (next_file_name): Use `sizeof *var' rather than
hard-coding `sizeof size_t'.
2003-11-04 06:25:45 +00:00
Jim Meyering 11e97f430c (AUTHORS): Add my name. 2003-11-04 06:21:03 +00:00
Jim Meyering 45240f2481 (main): Use sizeof *var' rather than sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
2003-11-04 06:13:55 +00:00
Jim Meyering d63bdf9a4d (initseq, add_field, make_blank): Use `sizeof *var' rather
than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
2003-11-04 06:07:01 +00:00
Jim Meyering 62e944695c *** empty log message *** 2003-11-03 16:11:14 +00:00
Jim Meyering 88d5e8e8f1 (TESTS_ENVIRONMENT): Define PACKAGE_VERSION. 2003-11-03 16:11:06 +00:00
Jim Meyering 30543245a1 Fail the test immediately if we're not running
the expected version of fold.
2003-11-03 16:10:58 +00:00
Jim Meyering 8994346d65 . 2003-11-03 15:08:50 +00:00
Jim Meyering 50dc32eafe wrap long copyright line 2003-11-03 14:57:41 +00:00
Jim Meyering 72896c44d5 . 2003-11-03 12:42:58 +00:00
Jim Meyering a80f1ede42 *** empty log message *** 2003-11-02 20:39:40 +00:00
Jim Meyering 9c76808b89 (alloc_and_compile_regex, main): Use `sizeof *var' rather
than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
2003-11-02 20:39:26 +00:00
Jim Meyering 0abb38e587 (new_item, record_relation): Use `sizeof *var' rather
than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
2003-11-02 20:24:14 +00:00
Jim Meyering 55760c106b (add_fs_type, add_excluded_fs_type, main): Use `sizeof *var' rather
than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
(main): Also remove anachronistic cast of xmalloc return value.
2003-11-02 20:22:54 +00:00
Jim Meyering e5dda0ab93 (make_path_private): Use sizeof *var' rather than sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
2003-11-02 20:17:46 +00:00
Jim Meyering 4265d0095e (copy_internal): Use sizeof *var' rather than sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
2003-11-02 20:17:04 +00:00
Jim Meyering 08fd60e693 (inittables): Use sizeof *var' rather than sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
(sort): Split a long line.
2003-11-02 20:16:19 +00:00
Jim Meyering 9ecbfc3886 *** empty log message *** 2003-11-02 19:54:01 +00:00
Jim Meyering 108be09181 (append_normal_char, append_range, append_char_class)
(append_repeated_char, append_equiv_class, spec_init): Use more maintainable
and usually-shorter `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.
2003-11-02 19:50:48 +00:00
Jim Meyering fdc7d5bdd7 *** empty log message *** 2003-11-01 08:54:59 +00:00
Jim Meyering ec3a9002ce (SIZE_MAX): Define if not defined already.
(read_filesystem_list): Set and use me_type_malloced.
Use "sizeof *me" rather than "sizeof (struct mount_entry)" (or
whatever the type happens to be), for brevity and consistency.
Check for size calculation overflow on Alphas running OSF/1.
2003-11-01 08:54:54 +00:00
Jim Meyering fed2b79e89 (struct mount_entry.me_type_malloced): New member. 2003-11-01 08:54:35 +00:00
Jim Meyering 95ce7b860a *** empty log message *** 2003-10-31 14:07:10 +00:00
Jim Meyering 284c516cb1 *** empty log message *** 2003-10-31 14:06:04 +00:00
Jim Meyering 4fd41898ae Include "xalloc.h". 2003-10-31 14:05:55 +00:00
Jim Meyering 27acea311d *** empty log message *** 2003-10-31 14:04:40 +00:00
Jim Meyering f7f606641f Update from gnulib. 2003-10-31 14:00:18 +00:00
Jim Meyering 7291dc2b9d *** empty log message *** 2003-10-31 13:50:17 +00:00
Jim Meyering ec31c91ef8 Include <string.h> for declaration of memset. 2003-10-31 13:50:11 +00:00
Jim Meyering e92d6b0c4b *** empty log message *** 2003-10-31 13:48:19 +00:00
Jim Meyering 328a409b21 Update from gnulib. 2003-10-31 13:48:07 +00:00
Jim Meyering d0f832a512 *** empty log message *** 2003-10-31 13:47:27 +00:00
Jim Meyering 87e53abf55 Update from gnulib. 2003-10-31 13:47:11 +00:00
Jim Meyering 2f7002a28f *** empty log message *** 2003-10-31 13:46:37 +00:00
Jim Meyering 946bb954db Update from gnulib. 2003-10-31 13:46:26 +00:00
Jim Meyering 58ccaaf6f5 *** empty log message *** 2003-10-31 13:44:41 +00:00
Jim Meyering 1d5daf4d88 Update from gnulib. 2003-10-31 13:44:24 +00:00
Jim Meyering e3f195ba3c Update from gnulib. 2003-10-31 13:43:55 +00:00
Jim Meyering 1ddab8a09e Update from gnulib. 2003-10-31 13:42:15 +00:00
Jim Meyering 6a9591f5b8 Update from gnulib. 2003-10-31 13:41:44 +00:00
Jim Meyering 4fc19cfd41 from gnulib -- merely increment serial number 2003-10-31 13:41:08 +00:00
Jim Meyering fdeec6de0b Update from gnulib. 2003-10-31 13:39:58 +00:00
Jim Meyering 83967b1ad0 *** empty log message *** 2003-10-25 15:34:12 +00:00
Jim Meyering fc80caecd8 (triple_hash, triple_hash_no_name): Adjust to reflect
type changes (unsigned int -> size_t) in hash.c.
2003-10-25 15:34:01 +00:00
Jim Meyering 0a875d3d7b (src_to_dest_hash): Adjust to reflect
type changes (unsigned int -> size_t) in hash.c.
2003-10-25 15:33:43 +00:00
Jim Meyering 24a7d395e3 (hash_int): Adjust to reflect
type changes (unsigned int -> size_t) in hash.c.
2003-10-25 15:33:28 +00:00
Jim Meyering c965791d3e (entry_hash): Adjust to reflect
type changes (unsigned int -> size_t) in hash.c.
2003-10-25 15:33:05 +00:00
Jim Meyering b2c8266f8b (dev_ino_hash): Adjust to reflect
type changes (unsigned int -> size_t) in hash.c.
2003-10-25 15:32:07 +00:00
Jim Meyering 7795d5d04a *** empty log message *** 2003-10-25 15:31:02 +00:00