Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/csh PR/53837: Michael Scholz: src/bin/csh/func.c from cu...



details:   https://anonhg.NetBSD.org/src/rev/fb62c1fec6f2
branches:  trunk
changeset: 995797:fb62c1fec6f2
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 06 01:22:50 2019 +0000

description:
PR/53837: Michael Scholz: src/bin/csh/func.c from current has a superfluous
fprintf

diffstat:

 bin/csh/func.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 6f9e650f262d -r fb62c1fec6f2 bin/csh/func.c
--- a/bin/csh/func.c    Sun Jan 06 00:39:05 2019 +0000
+++ b/bin/csh/func.c    Sun Jan 06 01:22:50 2019 +0000
@@ -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 @@
            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);



Home | Main Index | Thread Index | Old Index