diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-10 15:42:06 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-10 15:42:06 +0000 |
commit | ff131b980d524a33d8a43cefe65e14f64a43f2da (patch) | |
tree | 82d252f04f9a8511be452dcd8b5e322c59653c72 /shell/hush.c | |
parent | 163516da3ae54a587fb476c621793bd206f380c2 (diff) | |
download | busybox-w32-ff131b980d524a33d8a43cefe65e14f64a43f2da.tar.gz busybox-w32-ff131b980d524a33d8a43cefe65e14f64a43f2da.tar.bz2 busybox-w32-ff131b980d524a33d8a43cefe65e14f64a43f2da.zip |
style fixes. No code changes.
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 5bc83bc41..666604dd9 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -2044,7 +2044,7 @@ static int reserved_word(o_string *dest, struct p_context *ctx) | |||
2044 | *ctx = *old; /* physical copy */ | 2044 | *ctx = *old; /* physical copy */ |
2045 | free(old); | 2045 | free(old); |
2046 | } | 2046 | } |
2047 | b_reset (dest); | 2047 | b_reset(dest); |
2048 | return 1; | 2048 | return 1; |
2049 | } | 2049 | } |
2050 | } | 2050 | } |
@@ -2666,7 +2666,7 @@ static void setup_job_control(void) | |||
2666 | static pid_t shell_pgrp; | 2666 | static pid_t shell_pgrp; |
2667 | /* Loop until we are in the foreground. */ | 2667 | /* Loop until we are in the foreground. */ |
2668 | while (tcgetpgrp (shell_terminal) != (shell_pgrp = getpgrp ())) | 2668 | while (tcgetpgrp (shell_terminal) != (shell_pgrp = getpgrp ())) |
2669 | kill (- shell_pgrp, SIGTTIN); | 2669 | kill(- shell_pgrp, SIGTTIN); |
2670 | 2670 | ||
2671 | /* Ignore interactive and job-control signals. */ | 2671 | /* Ignore interactive and job-control signals. */ |
2672 | signal(SIGINT, SIG_IGN); | 2672 | signal(SIGINT, SIG_IGN); |