| # | Line 234 | Line 234 | main(int argc, char *argv[]) | |
|---|---|---|
| 234 | fputs(": cannot open for writing\n", stderr); | |
| 235 | return(1); | |
| 236 | } | |
| 237 | + | #ifdef getc_unlocked /* avoid stupid semaphores */ | 
| 238 | + | flockfile(fp); | 
| 239 | + | flockfile(stdout); | 
| 240 | + | #endif | 
| 241 | /* process information header */ | |
| 242 | if (getheader(fp, headline, NULL) < 0) { | |
| 243 | fputs(progname, stderr); | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |