Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ksh Fix FALLTHROUGH comments.
details: https://anonhg.NetBSD.org/src/rev/95b5c7b880b6
branches: trunk
changeset: 965663:95b5c7b880b6
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Thu Sep 26 11:01:09 2019 +0000
description:
Fix FALLTHROUGH comments.
diffstat:
bin/ksh/eval.c | 5 +++--
bin/ksh/lex.c | 6 +++---
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (53 lines):
diff -r ce3b4619b3a9 -r 95b5c7b880b6 bin/ksh/eval.c
--- a/bin/ksh/eval.c Thu Sep 26 10:47:30 2019 +0000
+++ b/bin/ksh/eval.c Thu Sep 26 11:01:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: eval.c,v 1.25 2018/06/12 14:13:55 kamil Exp $ */
+/* $NetBSD: eval.c,v 1.26 2019/09/26 11:01:09 mlelstv Exp $ */
/*
* Expansion - quoting, separation, substitution, globbing
@@ -6,7 +6,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: eval.c,v 1.25 2018/06/12 14:13:55 kamil Exp $");
+__RCSID("$NetBSD: eval.c,v 1.26 2019/09/26 11:01:09 mlelstv Exp $");
#endif
#include <sys/stat.h>
@@ -493,6 +493,7 @@
case XARGSEP:
type = XARG;
quote = 1;
+ /* FALLTHROUGH */
case XARG:
if ((c = *x.str++) == '\0') {
/* force null words to be created so
diff -r ce3b4619b3a9 -r 95b5c7b880b6 bin/ksh/lex.c
--- a/bin/ksh/lex.c Thu Sep 26 10:47:30 2019 +0000
+++ b/bin/ksh/lex.c Thu Sep 26 11:01:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lex.c,v 1.23 2018/05/08 16:37:59 kamil Exp $ */
+/* $NetBSD: lex.c,v 1.24 2019/09/26 11:01:09 mlelstv Exp $ */
/*
* lexical analysis and source input
@@ -6,7 +6,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: lex.c,v 1.23 2018/05/08 16:37:59 kamil Exp $");
+__RCSID("$NetBSD: lex.c,v 1.24 2019/09/26 11:01:09 mlelstv Exp $");
#endif
@@ -254,7 +254,7 @@
*wp++ = QCHAR, *wp++ = c;
break;
}
- /* FALLTROUGH */
+ /* FALLTHROUGH */
default:
Xcheck(ws, wp);
if (c) { /* trailing \ is lost */
Home |
Main Index |
Thread Index |
Old Index