summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-09-24 08:50:24 +0000
committerJim Meyering <jim@meyering.net>2002-09-24 08:50:24 +0000
commit6b7e8621e2bd3223fcd20c3ab229bce5bdf2d96b (patch)
tree52eceef8861377c679ea27f2999ebc29695da2d3
parentcc0a6e14fc608e6b503136bbb8a668c14a35566f (diff)
downloadcoreutils-6b7e8621e2bd3223fcd20c3ab229bce5bdf2d96b.tar.xz
*** empty log message ***
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bc86bb7d7..afcf53b89 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.