summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-03-19nohup now ignores the umask when creating nohup.out.Paul Eggert
nohup now closes stderr if it is a terminal and stdout is closed.
2005-03-19* coreutils.texi (nohup invocation): Clarify nohup.out creation.Paul Eggert
2005-03-19(nohup invocation): Clarify nohup.out creation.Paul Eggert
2005-03-19(main): nohup now ignores the umask when creating nohup.out.Paul Eggert
nohup now closes stderr if it is a terminal and stdout is closed. Be a little more paranoid about return values; e.g., check for any negative return from open. Assume free (NULL) works. Close file descriptor leak when redirecting standard output to a file.
2005-03-19nohup now ignores the umask when creating nohup.out.Paul Eggert
nohup now closes stderr if it is a terminal and stdout is closed.
2005-03-18comment tweakJim Meyering
2005-03-18Add comments for new macros.Jim Meyering
2005-03-18fix typoJim Meyering
2005-03-17tweak commentJim Meyering
2005-03-17*** empty log message ***Jim Meyering
2005-03-17(gl_PREREQ): Require gl_TYPEOF.Jim Meyering
2005-03-17(gl_TYPEOF): New file/macro.Jim Meyering
2005-03-17Make __typeof__-using code depend on HAVE_TYPEOF, not __GNUC__,Jim Meyering
since so many other C compilers also honor __typeof__.
2005-03-17spacing nitJim Meyering
2005-03-17Fix typo.Jim Meyering
2005-03-17(DECIMAL_DIGIT_ACCUMULATE): The use of __typeof__ must be conditional.Jim Meyering
2005-03-17*** empty log message ***Jim Meyering
2005-03-17*** empty log message ***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 inJim 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 inJim Meyering
place of nearly-equivalent code.
2005-03-17(set_fields): Use DECIMAL_DIGIT_ACCUMULATE macro inJim Meyering
place of nearly-equivalent code.
2005-03-17Use 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-17Before, this command would make uniq skip 11 fields and printJim 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-16* strftime.c (my_strftime): Prepend space to format.Paul Eggert
2005-03-16(my_strftime): Prepend space to format so that we canPaul Eggert
reliably distinguish strftime failure from empty output on POSIX hosts.
2005-03-15.Jim Meyering
2005-03-15.Jim Meyering
2005-03-15*** empty log message ***Jim Meyering
2005-03-15Both `pr -0' and e.g., `pr -03' would 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. Add tests for the above.
2005-03-15Both `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*** empty log message ***Jim Meyering
2005-03-15(copy_reg): Copy regular files in binary mode.Jim Meyering
2005-03-15Fix comments and indenting.Paul Eggert
2005-03-15Sync mktime.c and strtol.c macros from intprops.h.Paul Eggert
2005-03-14* strftime.c (my_strftime) [HAVE_STRFTIME && ! (_NL_CURRENTPaul Eggert
&& HAVE_STRUCT_ERA_ENTRY)]: Initialize the first byte of ubuf[].
2005-03-14* NEWS: Restate why ls limits time stamp lengths.Paul Eggert
2005-03-14Reword ls time-stamp limit issue.Paul Eggert
2005-03-12*** empty log message ***Jim Meyering
2005-03-12*** empty log message ***Jim Meyering
2005-03-12Add a little infrastructure to help prevent future bugs like theJim 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-12Invoking 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-12*** empty log message ***Jim Meyering
2005-03-11"ls" now refuses to generate very long time stamps.Paul Eggert
2005-03-11ls now refuses to generate time stamps containing more than 1000 bytes.Paul Eggert
2005-03-11* coreutils.texi (Formatting file timestamps): Very long timestampsPaul Eggert
may be treated as errors.
2005-03-11(Formatting file timestamps): Very long timestampsPaul Eggert
may be treated as errors.
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.