Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/sort Since SUS explicitly specifies sort(1) should a...
details: https://anonhg.NetBSD.org/src/rev/d339c2f0413e
branches: trunk
changeset: 502181:d339c2f0413e
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sat Jan 13 10:07:06 2001 +0000
description:
Since SUS explicitly specifies sort(1) should append a record
delimiter to file if it doesn't end with one, don't warn when this
happens.
diffstat:
usr.bin/sort/files.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 2e1047c848c4 -r d339c2f0413e usr.bin/sort/files.c
--- a/usr.bin/sort/files.c Sat Jan 13 07:19:33 2001 +0000
+++ b/usr.bin/sort/files.c Sat Jan 13 10:07:06 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: files.c,v 1.9 2001/01/12 19:24:42 jdolecek Exp $ */
+/* $NetBSD: files.c,v 1.10 2001/01/13 10:07:06 jdolecek Exp $ */
/*-
* Copyright (c) 1993
@@ -40,7 +40,7 @@
#include "fsort.h"
#ifndef lint
-__RCSID("$NetBSD: files.c,v 1.9 2001/01/12 19:24:42 jdolecek Exp $");
+__RCSID("$NetBSD: files.c,v 1.10 2001/01/13 10:07:06 jdolecek Exp $");
__SCCSID("@(#)files.c 8.1 (Berkeley) 6/6/93");
#endif /* not lint */
@@ -291,7 +291,6 @@
}
}
if (pos != buf) {
- warnx("last character not record delimiter");
*pos++ = REC_D;
line->size = pos - buf;
return (0);
Home |
Main Index |
Thread Index |
Old Index