Source-Changes-HG archive

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

[src/trunk]: src/bin/sh Correct a rather obvious typo (once Tor Egge pointed ...



details:   https://anonhg.NetBSD.org/src/rev/c0bcc0807c6c
branches:  trunk
changeset: 471650:c0bcc0807c6c
user:      he <he%NetBSD.org@localhost>
date:      Tue Apr 06 21:05:27 1999 +0000

description:
Correct a rather obvious typo (once Tor Egge pointed it out to me)
in the last change.

diffstat:

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

diffs (27 lines):

diff -r e366656f1b9d -r c0bcc0807c6c bin/sh/expand.c
--- a/bin/sh/expand.c   Tue Apr 06 20:27:13 1999 +0000
+++ b/bin/sh/expand.c   Tue Apr 06 21:05:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: expand.c,v 1.45 1999/03/26 15:49:34 christos Exp $     */
+/*     $NetBSD: expand.c,v 1.46 1999/04/06 21:05:27 he Exp $   */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)expand.c   8.5 (Berkeley) 5/15/95";
 #else
-__RCSID("$NetBSD: expand.c,v 1.45 1999/03/26 15:49:34 christos Exp $");
+__RCSID("$NetBSD: expand.c,v 1.46 1999/04/06 21:05:27 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -538,7 +538,7 @@
                        if (patmatch(str, startp, varflags & VSQUOTE))
                                goto recordleft;
                        *loc = c;
-                       if ((varflags && VSQUOTE) && *loc == CTLESC)
+                       if ((varflags & VSQUOTE) && *loc == CTLESC)
                                loc++;
                }
                return 0;



Home | Main Index | Thread Index | Old Index