projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b69c7a
)
Formerly job.c.~66~
author
Roland McGrath
<roland@redhat.com>
Tue, 12 May 1992 21:32:24 +0000
(21:32 +0000)
committer
Roland McGrath
<roland@redhat.com>
Tue, 12 May 1992 21:32:24 +0000
(21:32 +0000)
job.c
patch
|
blob
|
history
diff --git
a/job.c
b/job.c
index
44361c8
..
a842dda
100644
(file)
--- a/
job.c
+++ b/
job.c
@@
-1079,6
+1079,14
@@
construct_command_argv_internal (line, restp, shell, ifs)
++i;
new_argv[i] = 0;
+ if (i == 1)
+ {
+ register int j;
+ for (j = 0; sh_cmds[j] != 0; ++j)
+ if (streq (sh_cmds[j], new_argv[0]))
+ goto slow;
+ }
+
if (new_argv[0] == 0)
/* Line was empty. */
return 0;