Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-03-17 | spacing nit | Jim Meyering | |
2005-03-17 | Fix typo. | Jim Meyering | |
2005-03-17 | (DECIMAL_DIGIT_ACCUMULATE): The use of __typeof__ must be conditional. | Jim Meyering | |
2005-03-17 | (main): Use DECIMAL_DIGIT_ACCUMULATE macro in place of nearly-equivalent code. | Jim Meyering | |
2005-03-17 | (parse_tab_stops, main): Use DECIMAL_DIGIT_ACCUMULATE macro in | Jim Meyering | |
place of nearly-equivalent code. | |||
2005-03-17 | (main): Use DECIMAL_DIGIT_ACCUMULATE macro in place of nearly-equivalent code. | Jim Meyering | |
2005-03-17 | (parse_tab_stops, main): Use DECIMAL_DIGIT_ACCUMULATE macro in | Jim Meyering | |
place of nearly-equivalent code. | |||
2005-03-17 | (set_fields): Use DECIMAL_DIGIT_ACCUMULATE macro in | Jim Meyering | |
place of nearly-equivalent code. | |||
2005-03-17 | Use VERIFY macro in place of an equivalent open-coded declaration. | Jim Meyering | |
2005-03-17 | (VERIFY, VERIFY_EXPR, DECIMAL_DIGIT_ACCUMULATE): New macros. | Jim Meyering | |
2005-03-17 | Before, this command would make uniq skip 11 fields and print | Jim Meyering | |
only the first line. $ _POSIX2_VERSION=1 ./uniq -f1 -1 <(seq --format='1 %g' 2) 1 1 1 2 (main): Interpret `uniq -f1 -1' like `uniq -f1', not like `uniq -f11'. | |||
2005-03-15 | . | Jim Meyering | |
2005-03-15 | Both `pr -0' and e.g., `pr -03' evoke `column count too large'. | Jim Meyering | |
`pr -0' should give a better diagnostic and `pr -03' should be equivalent to `pr -3'. (parse_column_count): Change return type to void. Call error (EXIT_FAILURE, ... for an invalid string. (main): Allocate space for column_count_string using malloc. Accumulate all old-style column-count digits before converting. When the number of columns is specified via both old-style, (e.g., -3), and a long option (--columns=5), ensure that only the last one specified takes effect. | |||
2005-03-15 | (copy_reg): Copy regular files in binary mode. | Jim Meyering | |
2005-03-12 | Add a little infrastructure to help prevent future bugs like the | Jim Meyering | |
one fixed today. (xstrcat): New function. (print_statfs, print_stat): Add buf_len parameter and convert all uses of strcat to xstrcat. Update callers. (print_it): Call print_func with buf_len parameter. | |||
2005-03-12 | Invoking stat -c FMT with a lone format directive of %s, %f, %h, %s, | Jim Meyering | |
could cause a buffer overrun error. (print_it): Allocate 2 more bytes, to accommodate our conversion of the stat %s format string to the longer printf %llu one. Patch from Guochun Shi. | |||
2005-03-11 | (TIME_STAMP_LEN_MAXIMUM): New constant. | Paul Eggert | |
(long_time_expected_width, print_long_format): Use it, to avoid some possible denial-of-service attacks. | |||
2005-03-11 | Prompt once again for `mv -i A B' when A and B are hard links | Jim Meyering | |
to the same file. This fixes a bug introduced by my 2003-04-04 (coreutils-5.0.1) change. (abandon_move): New function, factored out of copy_internal, now that this code is being used from two places. (copy_internal): Perform the same interactive-related test for whether it's alright to proceed and (usually) overwrite the destination file. | |||
2005-03-10 | (long_time_expected_width): Use x2nrealloc, not alloca, | Jim Meyering | |
so format string abuse cannot provoke stack overflow. (print_long_format): Likewise. | |||
2005-03-10 | Don't segfault for a long header date string, e.g., | Jim Meyering | |
echo a|pr -D +%9999999A (init_header): Use x2nrealloc, rather than alloca. Don't bother with fixed-sized initial buffer; always use x*alloc. | |||
2005-03-10 | (tostring, printv): Use INT_BUFSIZE_BOUND in place of INT_STRLEN_BOUND + 1. | Jim Meyering | |
2005-03-10 | (init_header): Use INT_BUFSIZE_BOUND in place of INT_STRLEN_BOUND + 1. | Jim Meyering | |
2005-03-09 | . | Jim Meyering | |
2005-03-09 | Include intprops.h. | Paul Eggert | |
(TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_STRLEN_BOUND): Remove; they are now defined in intprops.h. | |||
2005-03-09 | . | Jim Meyering | |
2005-03-08 | (usage): Redo to match recent documentation changes. | Paul Eggert | |
Don't bother documenting which usages are GNU extensions; the list wasn't correct, and is better left to the printed manual anyway. | |||
2005-03-06 | Factor out column-count processing. | Jim Meyering | |
Include "inttostr.h". (parse_column_count): New function. (main): Use the new function for both old-style, -9, and long, --columns=-9, options. | |||
2005-03-06 | Remove `register' keyword. | Jim Meyering | |
2005-03-06 | Remove `register' keyword. | Jim Meyering | |
2005-03-06 | Remove `register' keyword. | Jim Meyering | |
2005-03-06 | Remove `register' keyword. | Jim Meyering | |
2005-03-06 | Remove `register' keyword. | Jim Meyering | |
2005-03-06 | Remove `register' keyword. | Jim Meyering | |
2005-03-06 | Remove register keyword. | Jim Meyering | |
2005-03-06 | Remove register keyword. | Jim Meyering | |
2005-03-06 | Remove register keyword. | Jim Meyering | |
2005-03-01 | . | Jim Meyering | |
2005-03-01 | (nanosec_libs): Remove $(LIB_XANOSLEEP); no longer needed. | Paul Eggert | |
2005-03-01 | (copy_internal): Change test of source type from !S_ISREG to S_ISLNK. | Jim Meyering | |
Reported by Paul Eggert in http://lists.gnu.org/archive/html/bug-coreutils/2004-10/msg00050.html. | |||
2005-02-26 | Regenerate. | Paul Eggert | |
2005-02-22 | Regenerate. | Paul Eggert | |
2005-02-22 | (dd_LDADD, shred_LDADD): Add $(LIB_GETHRXTIME). | Paul Eggert | |
(nanosec_libs): Add $(LIB_XNANOSLEEP). Needed for newer GNU/Linux hosts with clock_gettime. | |||
2005-02-21 | Regenerate. | Paul Eggert | |
2005-02-21 | (time): Remove obsolete decl. | Paul Eggert | |
(main): Gettime now returns void. | |||
2005-02-21 | Include gethrxtime.h. | Paul Eggert | |
(isaac_seed): Use gethrxtime rather than a mishmash. | |||
2005-02-21 | (time): Remove obsolete decl. | Paul Eggert | |
(get_current_time): gettimeofday always returns 0, so don't check its result. | |||
2005-02-21 | Include gethrxtime.h, xtime.h. | Paul Eggert | |
(start_time): Now of type xtime_t, not struct timespec. (print_stats, main): Use gethrxtime rather than gettime. | |||
2005-02-21 | (main): gettime now returns void. | Paul Eggert | |
2005-02-21 | (dd_LDADD, shred_LDADD, nanosec_libs): | Paul Eggert | |
Remove $(LIB_CLOCK_GETTIME). These functions now use gethrxtime instead. | |||
2005-02-21 | (enum RCH_status): Remove trailing comma, | Paul Eggert | |
as it's not valid in standard C89. |