Module Name: src
Committed By: christos
Date: Sun Jan 6 01:22:50 UTC 2019
Modified Files:
src/bin/csh: func.c
Log Message:
PR/53837: Michael Scholz: src/bin/csh/func.c from current has a superfluous
fprintf
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/bin/csh/func.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/csh/func.c
diff -u src/bin/csh/func.c:1.42 src/bin/csh/func.c:1.43
--- src/bin/csh/func.c:1.42 Sat Jan 5 11:54:00 2019
+++ src/bin/csh/func.c Sat Jan 5 20:22:50 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: func.c,v 1.42 2019/01/05 16:54:00 christos Exp $ */
+/* $NetBSD: func.c,v 1.43 2019/01/06 01:22:50 christos Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)func.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: func.c,v 1.42 2019/01/05 16:54:00 christos Exp $");
+__RCSID("$NetBSD: func.c,v 1.43 2019/01/06 01:22:50 christos Exp $");
#endif
#endif /* not lint */
@@ -619,7 +619,6 @@ search(int type, int level, Char *goal)
if (lastchr(aword) == ':')
aword[Strlen(aword) - 1] = 0;
cp = strip(Dfix1(aword));
- fprintf(cshout, "%s\n", short2str(cp));
if (Gmatch(goal, cp))
level = -1;
free(cp);