diff options
Diffstat (limited to 'usr/src/cmd/csh/sh.dol.c')
-rw-r--r-- | usr/src/cmd/csh/sh.dol.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/usr/src/cmd/csh/sh.dol.c b/usr/src/cmd/csh/sh.dol.c index fe0b88f4b0..8d963e7239 100644 --- a/usr/src/cmd/csh/sh.dol.c +++ b/usr/src/cmd/csh/sh.dol.c @@ -12,8 +12,6 @@ * specifies the terms and conditions for redistribution. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <unistd.h> /* for lseek prototype */ #include "sh.h" #include "sh.tconst.h" @@ -22,6 +20,17 @@ * C shell */ +bool noexec; +long gargc; +short OLDSTD; +short gflag; +tchar *bname; +tchar *file; +tchar **gargv; +tchar *doldol; +tchar *lap; +tchar **pargv; + /* * These routines perform variable substitution and quoting via ' and ". * To this point these constructs have been preserved in the divided @@ -297,7 +306,7 @@ quotspec: * the input is original, not from a substitution and * therefore should not be quoted */ - if (!err && cmap(c, QUOTES)) + if (!err_msg && cmap(c, QUOTES)) return (c | QUOTE); return (c); } |