mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-10-23 12:50:00 +00:00
* Code cleanup.
This commit is contained in:
parent
cbb9e38d10
commit
4ff6c62456
2 changed files with 38 additions and 37 deletions
5
job.c
5
job.c
|
@ -891,8 +891,9 @@ start_job_command (child)
|
|||
#else
|
||||
(argv[0] && !strcmp (argv[0], "/bin/sh"))
|
||||
#endif
|
||||
&& (argv[1] && !strcmp(argv[1], "-c"))
|
||||
&& (argv[2] && !strcmp(argv[2], ":"))
|
||||
&& (argv[1]
|
||||
&& argv[1][0] == '-' && argv[1][1] == 'c' && argv[1][2] == '\0')
|
||||
&& (argv[2] && argv[2][0] == ':' && argv[2][1] == '\0')
|
||||
&& argv[3] == NULL)
|
||||
{
|
||||
free (argv[0]);
|
||||
|
|
Loading…
Reference in a new issue