Subject: bin/8773: sort doesn't newline terminate error messages
To: None <gnats-bugs@gnats.netbsd.org>
From: Johan Danielsson <joda@pdc.kth.se>
List: netbsd-bugs
Date: 11/10/1999 06:03:45
>Number: 8773
>Category: bin
>Synopsis: sort doesn't newline terminate error messages
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 10 06:03:00 1999
>Last-Modified:
>Originator: Johan Danielsson
>Organization:
>Release: 1999-11-10
>Environment:
<machine, os, target, libraries (multiple lines)>
System: NetBSD blubb.pdc.kth.se 1.4M NetBSD 1.4M (BLUBB) #88: Tue Nov 9 20:40:15 CET 1999 joda@blubb.pdc.kth.se:/usr/misc/src/netbsd/anoncvs/src/sys/arch/i386/compile/BLUBB i386
>Description:
>How-To-Repeat:
$ sort +x /dev/null 2>&1 | od -c
0000000 i n v a l i d f i e l d s p
0000020 e c i f i c a t i o n ` + x '
0000040
>Fix:
--- sort.c 1996/03/21 18:35:47 1.7
+++ sort.c 1999/11/10 13:59:08
@@ -1857,6 +1857,7 @@
if (e)
fprintf(stderr,"error %d:", e);
fprintf(stderr, s, s1);
+ fprintf(stderr, "\n");
if (n)
exit(n);
}
>Audit-Trail:
>Unformatted: