diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1996-11-02 05:18:30 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1996-11-02 05:18:30 +0000 |
commit | 2ee7aeb3e5333bb951c4efb03da56de55d3c264c (patch) | |
tree | 7e3e10d82869286ceb529c29d764143e1ad828d2 /bin/sh/jobs.c | |
parent | cda2511e503c1edeb0ee87944f0a5951f8027e89 (diff) |
Fix eval of $1, a typo, and a thinko.
Diffstat (limited to 'bin/sh/jobs.c')
-rw-r--r-- | bin/sh/jobs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c index dbde5232ef1..4cdbbd89267 100644 --- a/bin/sh/jobs.c +++ b/bin/sh/jobs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: jobs.c,v 1.3 1996/10/20 00:54:51 millert Exp $ */ +/* $OpenBSD: jobs.c,v 1.4 1996/11/02 05:18:26 millert Exp $ */ /* $NetBSD: jobs.c,v 1.17 1995/07/04 16:26:45 pk Exp $ */ /*- @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)jobs.c 8.5 (Berkeley) 5/4/95"; #else -static char rcsid[] = "$OpenBSD: jobs.c,v 1.3 1996/10/20 00:54:51 millert Exp $"; +static char rcsid[] = "$OpenBSD: jobs.c,v 1.4 1996/11/02 05:18:26 millert Exp $"; #endif #endif /* not lint */ @@ -1101,7 +1101,7 @@ cmdputs(s) subtype = 0; } else if (c == CTLENDVAR) { *q++ = '}'; - } else if (c == CTLBACKQ | c == CTLBACKQ+CTLQUOTE) + } else if (c == CTLBACKQ || c == CTLBACKQ+CTLQUOTE) cmdnleft++; /* ignore it */ else *q++ = c; |