summaryrefslogtreecommitdiff
path: root/old
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-20 12:09:05 +0000
committerJim Meyering <jim@meyering.net>1995-05-20 12:09:05 +0000
commit4b54af76eaef9ce53b453ea6d4f1708435712f21 (patch)
tree039b581db88b39116fc9fee58fbc5ca8544c7787 /old
parente8db76575a4f77e8515426fd0c8b13bbc837a7ca (diff)
downloadcoreutils-4b54af76eaef9ce53b453ea6d4f1708435712f21.tar.xz
.
Diffstat (limited to 'old')
-rw-r--r--old/textutils/ChangeLog54
-rw-r--r--old/textutils/NEWS1
2 files changed, 37 insertions, 18 deletions
diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog
index dcc6a15a2..484e104e9 100644
--- a/old/textutils/ChangeLog
+++ b/old/textutils/ChangeLog
@@ -1,3 +1,21 @@
+Sat May 20 06:44:14 1995 Jim Meyering (meyering@comco.com)
+
+ * tr.c (look_up_char_class): Take a string length argument -- required
+ because the argument is a string that is *not* NUL-terminated.
+ Use strncmp, not strcmp and add string lengths comparison.
+ (append_char_class): Update caller. Before this change,
+ tr '[:upper:]' '[:lower:]' read one uninitialized byte.
+ From Andreas Schwab.
+
+ * split.c (next_file_name): Move dcls of file-scope variables into
+ this function. Don't rely on arithmetic being two's complement.
+
+ * paste.c [CLOSED, ENDLIST]: Don't cast constants to FILE pointers.
+ Instead, declare two FILE structs and use their addresses.
+
+ * csplit.c (record_line_starts): Remove set-but-not-used,
+ file-scope variable.
+
Sat May 13 08:57:20 1995 Jim Meyering (meyering@comco.com)
* all source files (usage): Include one- or two-line synopsis
@@ -211,32 +229,32 @@ Sun Dec 11 17:24:09 1994 Jim Meyering (meyering@comco.com)
Thu Nov 17 06:37:33 1994 Jim Meyering (meyering@comco.com)
- * tail.c (dump_remainder): Flush standard output just before
- sleeping so that `tail -f' will output partial lines sooner.
- This applies only when following the end of a single file.
- From Leonard N. Zubkoff <lnz@dandelion.com>.
+ * tail.c (dump_remainder): Flush standard output just before
+ sleeping so that `tail -f' will output partial lines sooner.
+ This applies only when following the end of a single file.
+ From Leonard N. Zubkoff <lnz@dandelion.com>.
- * tail.c (file_lines, pipe_lines, pipe_bytes, start_bytes,
- start_lines, dump_remainder): Use STDOUT_FILENO instead of `1' in
- XWRITE calls.
- * tac.c (output): Use STDOUT_FILENO instead of `1' in xwrite call.
- * system.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Define if
- not already defined.
+ * tail.c (file_lines, pipe_lines, pipe_bytes, start_bytes,
+ start_lines, dump_remainder): Use STDOUT_FILENO instead of `1' in
+ XWRITE calls.
+ * tac.c (output): Use STDOUT_FILENO instead of `1' in xwrite call.
+ * system.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Define if
+ not already defined.
Wed Nov 16 07:01:38 1994 Jim Meyering (meyering@comco.com)
- * tr.c: Include <getopt.h> instead of "getopt.h".
+ * tr.c: Include <getopt.h> instead of "getopt.h".
- * sort.c (tempname): Merge two very similar sprintf stmts into one.
+ * sort.c (tempname): Merge two very similar sprintf stmts into one.
- * tail.c: Use BUFSIZ instead of BUFSIZE.
+ * tail.c: Use BUFSIZ instead of BUFSIZE.
- * cut.c: Declare DELIM to be `int' rather than unsigned char.
+ * cut.c: Declare DELIM to be `int' rather than unsigned char.
- * fmt.c: Use index, not strchr -- per GNU Standards.
- Reported by Kaveh Ghazi.
- Always include <config.h>.
- (main): Include program name in --version output.
+ * fmt.c: Use index, not strchr -- per GNU Standards.
+ Reported by Kaveh Ghazi.
+ Always include <config.h>.
+ (main): Include program name in --version output.
Sun Nov 06 00:17:21 1994 Jim Meyering (meyering@comco.com)
diff --git a/old/textutils/NEWS b/old/textutils/NEWS
index 92bd5c61b..3021ba1bf 100644
--- a/old/textutils/NEWS
+++ b/old/textutils/NEWS
@@ -1,4 +1,5 @@
User-visible changes in release 1.12
+* tr '[:upper:]' '[:lower:]' no longer reads uninitialized memory
* sort properly handles command line arguments like `+7.2n'
* fmt properly formats paragraphs not terminated by a newline
* tail -f flushes stdout before sleeping so that it will output partial