Module Name: src
Committed By: joerg
Date: Mon Jul 19 01:15:17 UTC 2010
Modified Files:
src/bin/sh: output.c
Log Message:
Don't quite `+', `-' and `/' in set -x output.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/bin/sh/output.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/sh/output.c
diff -u src/bin/sh/output.c:1.31 src/bin/sh/output.c:1.32
--- src/bin/sh/output.c:1.31 Fri Oct 31 14:38:42 2008
+++ src/bin/sh/output.c Mon Jul 19 01:15:17 2010
@@ -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;