| # | Line 187 | Line 187 | register char *s; | |
|---|---|---|
| 187 | { | |
| 188 | static int midline = 0; | |
| 189 | ||
| 190 | + | if (!*s) |
| 191 | + | return; |
| 192 | if (!midline++) { | |
| 193 | fputs(progname, stderr); | |
| 194 | fputs(": ", stderr); | |
| 195 | } | |
| 196 | fputs(s, stderr); | |
| 197 | < | if (*s && s[strlen(s)-1] == '\n') { |
| 197 | > | if (s[strlen(s)-1] == '\n') { |
| 198 | fflush(stderr); | |
| 199 | midline = 0; | |
| 200 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |