From 0597463e895c61e9ee25cf5ffcae815095060266 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 19 Jul 2010 01:15:17 +0000 Subject: [PATCH] Don't quite `+', `-' and `/' in set -x output. --- bin/sh/output.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/sh/output.c b/bin/sh/output.c index 30d25b70a113..8e68b4fd7523 100644 --- a/bin/sh/output.c +++ b/bin/sh/output.c @@ -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 @@ void 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;