Christos' fix for quoting variable extraction properly.
This commit is contained in:
parent
917feef86b
commit
9f7dde6ba0
@ -38,7 +38,7 @@
|
||||
|
||||
#ifndef lint
|
||||
/* from: static char sccsid[] = "@(#)compat.c 5.7 (Berkeley) 3/1/91"; */
|
||||
static char *rcsid = "$Id: compat.c,v 1.7 1994/06/06 22:45:21 jtc Exp $";
|
||||
static char *rcsid = "$Id: compat.c,v 1.8 1994/06/16 18:50:04 jtc Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*-
|
||||
@ -262,7 +262,7 @@ CompatRunCommand (cmdp, gnp)
|
||||
* brk_string sticks our name in av[0], so we have to
|
||||
* skip over it...
|
||||
*/
|
||||
av = brk_string(cmd, &argc);
|
||||
av = brk_string(cmd, &argc, TRUE);
|
||||
av += 1;
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#ifndef lint
|
||||
/* from: static char sccsid[] = "@(#)job.c 5.15 (Berkeley) 3/1/91"; */
|
||||
static char *rcsid = "$Id: job.c,v 1.6 1994/06/06 22:45:29 jtc Exp $";
|
||||
static char *rcsid = "$Id: job.c,v 1.7 1994/06/16 18:50:08 jtc Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*-
|
||||
@ -2360,7 +2360,7 @@ Job_ParseShell (line)
|
||||
while (isspace (*line)) {
|
||||
line++;
|
||||
}
|
||||
words = brk_string (line, &wordCount);
|
||||
words = brk_string (line, &wordCount, TRUE);
|
||||
|
||||
memset ((Address)&newShell, 0, sizeof(newShell));
|
||||
|
||||
|
@ -44,7 +44,7 @@ char copyright[] =
|
||||
|
||||
#ifndef lint
|
||||
/* from: static char sccsid[] = "@(#)main.c 5.25 (Berkeley) 4/1/91"; */
|
||||
static char *rcsid = "$Id: main.c,v 1.14 1994/06/06 22:45:33 jtc Exp $";
|
||||
static char *rcsid = "$Id: main.c,v 1.15 1994/06/16 18:50:13 jtc Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*-
|
||||
@ -334,7 +334,6 @@ Main_ParseArgLine(line)
|
||||
{
|
||||
char **argv; /* Manufactured argument vector */
|
||||
int argc; /* Number of arguments in argv */
|
||||
char *p1;
|
||||
|
||||
if (line == NULL)
|
||||
return;
|
||||
@ -343,7 +342,7 @@ Main_ParseArgLine(line)
|
||||
if (!*line)
|
||||
return;
|
||||
|
||||
argv = brk_string(line, &argc);
|
||||
argv = brk_string(line, &argc, TRUE);
|
||||
MainParseArgs(argc, argv);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user