Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/cat Drop the case '?' which is defined after case 'defau...
details: https://anonhg.NetBSD.org/src/rev/a91015cc6fd6
branches: trunk
changeset: 809646:a91015cc6fd6
user: sevan <sevan%NetBSD.org@localhost>
date: Sat Jul 25 16:17:01 2015 +0000
description:
Drop the case '?' which is defined after case 'default'.
case 'default' statement introduced in the last commit to cat.c in the CSRG archive.
Obtained from OpenBSD bin/cat/cat.c r1.3.
diffstat:
bin/cat/cat.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 8bedd5816219 -r a91015cc6fd6 bin/cat/cat.c
--- a/bin/cat/cat.c Sat Jul 25 15:55:31 2015 +0000
+++ b/bin/cat/cat.c Sat Jul 25 16:17:01 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cat.c,v 1.54 2013/12/08 08:32:13 spz Exp $ */
+/* $NetBSD: cat.c,v 1.55 2015/07/25 16:17:01 sevan Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -44,7 +44,7 @@
#if 0
static char sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
#else
-__RCSID("$NetBSD: cat.c,v 1.54 2013/12/08 08:32:13 spz Exp $");
+__RCSID("$NetBSD: cat.c,v 1.55 2015/07/25 16:17:01 sevan Exp $");
#endif
#endif /* not lint */
@@ -113,7 +113,6 @@
vflag = 1;
break;
default:
- case '?':
(void)fprintf(stderr,
"Usage: %s [-beflnstuv] [-B bsize] [-] "
"[file ...]\n", getprogname());
Home |
Main Index |
Thread Index |
Old Index