Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/csh echo;echo;echo; should echo
details: https://anonhg.NetBSD.org/src/rev/274f0f9b0f27
branches: trunk
changeset: 507144:274f0f9b0f27
user: christos <christos%NetBSD.org@localhost>
date: Wed Mar 14 18:01:22 2001 +0000
description:
echo;echo;echo; should echo
diffstat:
bin/csh/func.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 61d6db40d0f2 -r 274f0f9b0f27 bin/csh/func.c
--- a/bin/csh/func.c Wed Mar 14 16:39:33 2001 +0000
+++ b/bin/csh/func.c Wed Mar 14 18:01:22 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: func.c,v 1.19 2001/01/06 23:56:26 christos Exp $ */
+/* $NetBSD: func.c,v 1.20 2001/03/14 18:01:22 christos Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)func.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: func.c,v 1.19 2001/01/06 23:56:26 christos Exp $");
+__RCSID("$NetBSD: func.c,v 1.20 2001/03/14 18:01:22 christos Exp $");
#endif
#endif /* not lint */
@@ -934,7 +934,7 @@
}
v++;
if (*v == 0)
- return;
+ goto done;
gflag = 0, tglob(v);
if (gflag) {
v = globall(v);
@@ -956,6 +956,7 @@
if (*v)
(void) vis_fputc(sep | QUOTE, cshout);
}
+done:
if (sep && nonl == 0)
(void) fputc('\n', cshout);
else
Home |
Main Index |
Thread Index |
Old Index