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
No binary (build failed)
—
(log yok)
| @@ -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) | |
| { | |