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:
Robert Griebl 2002-07-30 23:13:51 +00:00
parent df03932b7e
commit b230159958

View File

@ -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)
{