diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-10 15:42:06 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-10 15:42:06 +0000 |
commit | a1cce942064b62a2f238383d61c331b14ab764eb (patch) | |
tree | 82d252f04f9a8511be452dcd8b5e322c59653c72 /shell/lash.c | |
parent | b2ea681ba78e9de8abaabfd51e876aaf4c5198a9 (diff) | |
download | busybox-w32-a1cce942064b62a2f238383d61c331b14ab764eb.tar.gz busybox-w32-a1cce942064b62a2f238383d61c331b14ab764eb.tar.bz2 busybox-w32-a1cce942064b62a2f238383d61c331b14ab764eb.zip |
style fixes. No code changes.
git-svn-id: svn://busybox.net/trunk/busybox@18381 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell/lash.c')
-rw-r--r-- | shell/lash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/lash.c b/shell/lash.c index 192900bb6..f9d9deb62 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -582,7 +582,7 @@ static int setup_redirects(struct child_prog *prog, int squirrel[]) | |||
582 | if (openfd != redir->fd) { | 582 | if (openfd != redir->fd) { |
583 | if (squirrel && redir->fd < 3) { | 583 | if (squirrel && redir->fd < 3) { |
584 | squirrel[redir->fd] = dup(redir->fd); | 584 | squirrel[redir->fd] = dup(redir->fd); |
585 | fcntl (squirrel[redir->fd], F_SETFD, FD_CLOEXEC); | 585 | fcntl(squirrel[redir->fd], F_SETFD, FD_CLOEXEC); |
586 | } | 586 | } |
587 | dup2(openfd, redir->fd); | 587 | dup2(openfd, redir->fd); |
588 | close(openfd); | 588 | close(openfd); |
@@ -763,7 +763,7 @@ static int expand_arguments(char *command) | |||
763 | free(tmpcmd); /* Free mem allocated by strsep_space */ | 763 | free(tmpcmd); /* Free mem allocated by strsep_space */ |
764 | if (retval == GLOB_NOSPACE) { | 764 | if (retval == GLOB_NOSPACE) { |
765 | /* Mem may have been allocated... */ | 765 | /* Mem may have been allocated... */ |
766 | globfree (&expand_result); | 766 | globfree(&expand_result); |
767 | bb_error_msg(out_of_space); | 767 | bb_error_msg(out_of_space); |
768 | return FALSE; | 768 | return FALSE; |
769 | } else if (retval != 0) { | 769 | } else if (retval != 0) { |
@@ -786,7 +786,7 @@ static int expand_arguments(char *command) | |||
786 | strcat(command+total_length, expand_result.gl_pathv[i]); | 786 | strcat(command+total_length, expand_result.gl_pathv[i]); |
787 | total_length += length; | 787 | total_length += length; |
788 | } | 788 | } |
789 | globfree (&expand_result); | 789 | globfree(&expand_result); |
790 | } | 790 | } |
791 | } | 791 | } |
792 | free(cmd_copy); | 792 | free(cmd_copy); |
@@ -1478,7 +1478,7 @@ static void setup_job_control(void) | |||
1478 | if (status == (shell_pgrp = getpgrp ())) { | 1478 | if (status == (shell_pgrp = getpgrp ())) { |
1479 | break; | 1479 | break; |
1480 | } | 1480 | } |
1481 | kill (- shell_pgrp, SIGTTIN); | 1481 | kill(- shell_pgrp, SIGTTIN); |
1482 | } | 1482 | } |
1483 | 1483 | ||
1484 | /* Ignore interactive and job-control signals. */ | 1484 | /* Ignore interactive and job-control signals. */ |