projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df03932
)
Fixed a timing bug which occured when bb ash is run in a rxvt on the
author
Robert Griebl
<griebl@gmx.de>
Tue, 30 Jul 2002 23:13:51 +0000
(23:13 -0000)
committer
Robert Griebl
<griebl@gmx.de>
Tue, 30 Jul 2002 23:13:51 +0000
(23:13 -0000)
HP iPAQ. Sometimes we get a SIGWINCH and want to print the prompt, although
the prompt is not yet initialised (0) .. so just don't print a prompt
as long as the prompt string is 0
shell/cmdedit.c
patch
|
blob
|
history
diff --git
a/shell/cmdedit.c
b/shell/cmdedit.c
index 5cbc8113159f3fbc7b1490134ac05c2c4418f596..eee32131a5870d01c91f430e6f2c0240be8c1d1d 100644
(file)
--- a/
shell/cmdedit.c
+++ b/
shell/cmdedit.c
@@
-275,7
+275,8
@@
static void goto_new_line(void)
static inline void out1str(const char *s)
{
- fputs(s, stdout);
+ if ( s )
+ fputs(s, stdout);
}
static inline void beep(void)
{