mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
Fixed a timing bug which occured when bb ash is run in a rxvt on the
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
This commit is contained in:
parent
df03932b7e
commit
b230159958
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user