summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-11-06Fix 'cut' problems with size_t overflow and unsigned int.Jim Meyering
More generally, resize integer variables to fit use more precisely. (ADD_RANGE_PAIR): Remove unnecessary parens. (struct range_pair): Make members to be of type size_t, not unsigned. (max_range_endpoint, eol_range_start): Now size_t, not unsigned. (suppress_non_delimited, output_delimiter_specified, have_read_stdin, print_kth, set_fields): Now bool, nt int. (delim): Now unsigned char, not int. (mark_printable_field, is_printable_field, is_range_start_index, set_fields, set_fields, cut_bytes, cut_fields): Use size_t, not unsigned, for field and byte counts. (hash_int): Use uintptr_t, not unsigned, for pointers converted to integers. This squeezes more info out of them. (set_fields, cut_bytes, cut_fields, main): Use bool, not int, for booleans. (set_fields): Allocate zeroed byte array with xzalloc, not xcalloc.
2003-11-06*** empty log message ***Jim Meyering
2003-11-06*** empty log message ***Jim Meyering
2003-11-06(jm_CHECK_ALL_TYPES): Check for uintptr_t.Jim Meyering
2003-11-06.Jim Meyering
2003-11-06*** empty log message ***Jim Meyering
2003-11-06(check-programs-vs-x):Jim Meyering
Work even if $(programs) contains '$'. Work even if 'missing=1' in environment. Don't report an error simply because $(programs) outputs nothing.
2003-11-06New file. From gnulib.Jim Meyering
2003-11-06*** empty log message ***Jim Meyering
2003-11-05(jm_MACROS): Require gl_FUNC_FREE.Jim Meyering
2003-11-05*** empty log message ***Jim Meyering
2003-11-05Update from gnulib.Jim Meyering
2003-11-05Update from gnulib.Jim Meyering
2003-11-05*** empty log message ***Jim Meyering
2003-11-05(jm_MACROS): Require autoconf-2.58.Jim Meyering
(AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2003-11-05*** empty log message ***Jim Meyering
2003-11-05.Jim Meyering
2003-11-05*** empty log message ***Jim Meyering
2003-11-05*** empty log message ***Jim Meyering
2003-11-05Cast NULL to `(char *)' in call to variadic function,Jim Meyering
parse_long_options, so that it works even on systems for which sizeof char* != sizeof int.
2003-11-05*** empty log message ***Jim Meyering
2003-11-05(spec_init): Fix typo in last change.Jim Meyering
2003-11-05(main): Cast NULL to `(char *)' inJim Meyering
call to variadic version_etc function, so that it works even on systems for which sizeof char* != sizeof int.
2003-11-05(case_GETOPT_VERSION_CHAR): Cast NULL to `(char *)' inJim Meyering
call to variadic version_etc function, so that it works even on systems for which sizeof char* != sizeof int.
2003-11-05*** empty log message ***Jim Meyering
2003-11-05Document _POSIX2_VERSION.Jim Meyering
2003-11-05*** empty log message ***Jim Meyering
2003-11-05(users): Free `utmp_buf' explicitly so that peopleJim Meyering
don't mistake this for a real leak.
2003-11-05*** empty log message ***Jim Meyering
2003-11-04.Jim Meyering
2003-11-04*** empty log message ***Jim Meyering
2003-11-04(ADD_FIELD, initseq, getseq): Use x2nrealloc rather than xrealloc.Jim Meyering
2003-11-04(fold_file): Use x2nrealloc rather than xrealloc.Jim Meyering
2003-11-04(store_char): Use x2nrealloc rather than xrealloc.Jim Meyering
2003-11-04(memrchr): Remove #if-0'd function.Jim Meyering
(tac_stdin_to_mem): Clean up #if-0'd code.
2003-11-04(new_key): Use xzalloc, not xcalloc.Jim Meyering
2003-11-04(show_date): Use x2nrealloc rather than xrealloc.Jim Meyering
2003-11-04(decode_format_string): Remove unnecessary casts.Jim Meyering
Use more maintainable `sizeof *var'. (main): Call decode_format_string rather than decode_one_format, now that `spec' may be NULL.
2003-11-04(decode_format_string, dump_strings): Use x2nrealloc rather than xrealloc.Jim Meyering
2003-11-04(ADD_RANGE_PAIR): Use x2nrealloc rather than xrealloc,Jim Meyering
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(next_file_name): Use `sizeof *var' rather thanJim Meyering
hard-coding `sizeof size_t'.
2003-11-04(AUTHORS): Add my name.Jim Meyering
2003-11-04(main): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.Jim Meyering
The former is more maintainable and usually shorter.
2003-11-04(initseq, add_field, make_blank): Use `sizeof *var' ratherJim Meyering
than `sizeof EXPLICIT_TYPE'. The former is more maintainable and usually shorter.
2003-11-03*** empty log message ***Jim Meyering
2003-11-03(TESTS_ENVIRONMENT): Define PACKAGE_VERSION.Jim Meyering
2003-11-03Fail the test immediately if we're not runningJim Meyering
the expected version of fold.
2003-11-03.Jim Meyering
2003-11-03wrap long copyright lineJim Meyering
2003-11-03.Jim Meyering