(wc): Avoid setmode; use POSIX-specified routines instead.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Jul 2005 18:27:49 +0000 (18:27 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Jul 2005 18:27:49 +0000 (18:27 +0000)
commitf3946fbee9a26999028e67e5f4ecef59b74eed38
treee7d832d7bd2b634a816fb268697e81c2f7101224
parent07fc234838d4bae0ddaa98ead2233ba2c98a1979
(wc): Avoid setmode; use POSIX-specified routines instead.
(wc_file): FILE might be null now.
(main): Simplify code a bit, so that fewer places need the setmode fixes.
src/wc.c