diff options
author | Jim Meyering <jim@meyering.net> | 2002-09-24 08:50:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-09-24 08:50:24 +0000 |
commit | 6b7e8621e2bd3223fcd20c3ab229bce5bdf2d96b (patch) | |
tree | 52eceef8861377c679ea27f2999ebc29695da2d3 | |
parent | cc0a6e14fc608e6b503136bbb8a668c14a35566f (diff) | |
download | coreutils-6b7e8621e2bd3223fcd20c3ab229bce5bdf2d96b.tar.xz |
*** empty log message ***
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -16,6 +16,16 @@ * src/Makefile.am (PERL): Remove duplicate definition. + fmt's -s, -t, -c options didn't work properly for long lines. + Since get_line may end up calling put_paragraph (for long lines), + be sure to set global, `other_indent', before it is used there. + + * src/fmt.c (set_other_indent): New function, factored out of... + (get_paragraph): ... here. Call it. + (get_line): Call set_other_indent before calling flush_paragraph, + which calls fmt_paragraph, which in turn calls put_paragraph, + which uses other_indent. + * tests/fmt/Makefile.am (TESTS): Add long-line. * tests/fmt/long-line: New file/test, for the above fix. |