mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +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,6 +275,7 @@ static void goto_new_line(void)
|
|||||||
|
|
||||||
static inline void out1str(const char *s)
|
static inline void out1str(const char *s)
|
||||||
{
|
{
|
||||||
|
if ( s )
|
||||||
fputs(s, stdout);
|
fputs(s, stdout);
|
||||||
}
|
}
|
||||||
static inline void beep(void)
|
static inline void beep(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user