• Paul Eggert's avatar
    * make-docfile.c: Simplify a bit, to simplify further refactoring. · a705278d
    Paul Eggert authored
    (outfile): Remove static var.  All uses changed to use stdout,
    since it's always stdout anyway.  While we're at it, prefer
    putchar/puts/fputs to printf when there are no format strings.
    (main): Use freopen rather than fopen, so that stdout is reused.
    Move O_BINARY stuff after the freopen, so it affects the
    reopened file.
    (write_c_args): Omit first arg, since it's always stdout now.
    All uses changed.
    a705278d
ChangeLog 277 KB