Source-Changes-HG archive

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

[src/trunk]: src/bin/sh Don't quite `+', `-' and `/' in set -x output.



details:   https://anonhg.NetBSD.org/src/rev/89e06503b59e
branches:  trunk
changeset: 756470:89e06503b59e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jul 19 01:15:17 2010 +0000

description:
Don't quite `+', `-' and `/' in set -x output.

diffstat:

 bin/sh/output.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bbece812de26 -r 89e06503b59e bin/sh/output.c
--- a/bin/sh/output.c   Mon Jul 19 00:59:32 2010 +0000
+++ b/bin/sh/output.c   Mon Jul 19 01:15:17 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: output.c,v 1.31 2008/10/31 14:38:42 christos Exp $     */
+/*     $NetBSD: output.c,v 1.32 2010/07/19 01:15:17 joerg Exp $        */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)output.c   8.2 (Berkeley) 5/4/95";
 #else
-__RCSID("$NetBSD: output.c,v 1.31 2008/10/31 14:38:42 christos Exp $");
+__RCSID("$NetBSD: output.c,v 1.32 2010/07/19 01:15:17 joerg Exp $");
 #endif
 #endif /* not lint */
 
@@ -150,7 +150,7 @@
 outshstr(const char *p, struct output *file)
 {
        static const char norm_chars [] \
-               = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
+               = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/-=";
        int need_q = p[0] == 0 || p[strspn(p, norm_chars)] != 0;
        char c;
 



Home | Main Index | Thread Index | Old Index