diff options
author | G.P. Halkes <buscom@ghalkes.nl> | 2007-01-06 09:49:47 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-01-06 09:49:47 +0100 |
commit | 37bcc2770788d8fd9fd8cda3413a27dd131d9e22 (patch) | |
tree | bdf13bcd0a2e2038eb61ae220b76dda808ae49a2 /ChangeLog | |
parent | ab58de37e6e01b22acc49f72b109b6e910f5190a (diff) | |
download | coreutils-37bcc2770788d8fd9fd8cda3413a27dd131d9e22.tar.xz |
* src/fmt.c (copy_rest): Correct prefix handling.
Don't elide a line with the prefix followed by only white space.
(get_line): Move EOF-check to loop-termination condition.
* tests/fmt/basic (pfx-1): Adjust test to expect desired result.
(pfx-2): Remove test; its premise was contrary to the documentation.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2007-01-06 G.P. Halkes <buscom@ghalkes.nl> + + * src/fmt.c (copy_rest): Correct prefix handling. + Don't elide a line with the prefix followed by only white space. + (get_line): Move EOF-check to loop-termination condition. + * tests/fmt/basic (pfx-1): Adjust test to expect desired result. + (pfx-2): Remove test; its premise was contrary to the documentation. + 2007-01-05 Jim Meyering <jim@meyering.net> Avoid a used-uninitialized bug for invalid input, i.e., when the size |