Mercurial > hg > toybox
diff main.c @ 761:6a558bf5de65
Elie De Brauwer pointed out that xputs() isn't reliably reporting errors because there's no flush. Rather than change the output granularity, flush before exit and check errors there. (We still need xputc() doing it so "yes" doesn't continue forever.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 23 Dec 2012 01:25:27 -0600 |
parents | a950dd960593 |
children | 098ab2654fa0 |
line wrap: on
line diff