diff options
author | Erik Andersen | 2000-03-12 23:49:18 +0000 |
---|---|---|
committer | Erik Andersen | 2000-03-12 23:49:18 +0000 |
commit | 3522eb1ab3a4f1bcbf2c0f0eed387733b29c9e95 (patch) | |
tree | 5670f3711de435e2e159ff9ceebda1bebe33d38c /utility.c | |
parent | 269bba25149289201055c9448e8c64fc05dbf89d (diff) | |
download | busybox-3522eb1ab3a4f1bcbf2c0f0eed387733b29c9e95.zip busybox-3522eb1ab3a4f1bcbf2c0f0eed387733b29c9e95.tar.gz |
First pass at writing a shell for busybox.
Works fine, full job control support, etc.
No syntax yet (if, then, while, etc). Handles
pipes and & processes fine.
TODO: add command editing, add syntax suport.
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -96,8 +96,8 @@ extern void errorMsg(char *s, ...) va_start(p, s); fflush(stdout); vfprintf(stderr, s, p); - fprintf(stderr, "\n"); va_end(p); + fflush(stderr); } extern void fatalError(char *s, ...) @@ -107,8 +107,8 @@ extern void fatalError(char *s, ...) va_start(p, s); fflush(stdout); vfprintf(stderr, s, p); - fprintf(stderr, "\n"); va_end(p); + fflush(stderr); exit( FALSE); } |