← Commit list

b23015995

Robert Griebl
Robert Griebl
2002-07-30
FAILED Duration: 5s

Subject

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

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/cmdedit.c+2 -1
@@ -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)
{