Commit Graph

17235 Commits

Author SHA1 Message Date
Jim Meyering b05cf2dee5 *** empty log message *** 2003-11-05 03:34:15 +00:00
Jim Meyering 875086bc91 Document _POSIX2_VERSION. 2003-11-05 03:34:09 +00:00
Jim Meyering d324de53cb *** empty log message *** 2003-11-05 03:19:14 +00:00
Jim Meyering 0a9816d8ba (users): Free `utmp_buf' explicitly so that people
don't mistake this for a real leak.
2003-11-05 03:15:21 +00:00
Jim Meyering f920b8b66e *** empty log message *** 2003-11-05 03:14:28 +00:00
Jim Meyering 4f081364fb . 2003-11-04 14:42:54 +00:00
Jim Meyering 0dd12bdc03 *** empty log message *** 2003-11-04 14:42:09 +00:00
Jim Meyering 62236f25e8 (ADD_FIELD, initseq, getseq): Use x2nrealloc rather than xrealloc. 2003-11-04 14:42:05 +00:00
Jim Meyering 6228ff86bd (fold_file): Use x2nrealloc rather than xrealloc. 2003-11-04 10:27:24 +00:00
Jim Meyering dfed7d19ac (store_char): Use x2nrealloc rather than xrealloc. 2003-11-04 09:32:16 +00:00
Jim Meyering bf4248b344 (memrchr): Remove #if-0'd function.
(tac_stdin_to_mem): Clean up #if-0'd code.
2003-11-04 09:31:08 +00:00
Jim Meyering 5506fdeffd (new_key): Use xzalloc, not xcalloc. 2003-11-04 09:28:28 +00:00
Jim Meyering e1c6989ecf (show_date): Use x2nrealloc rather than xrealloc. 2003-11-04 09:27:54 +00:00
Jim Meyering eab4bc5278 (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.
2003-11-04 09:27:19 +00:00
Jim Meyering 59436e7b92 (decode_format_string, dump_strings): Use x2nrealloc rather than xrealloc. 2003-11-04 06:32:51 +00:00
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