(head_lines, head_file): Avoid setmode; use POSIX-specified routines instead.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Jul 2005 18:23:23 +0000 (18:23 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Jul 2005 18:23:23 +0000 (18:23 +0000)
commit6560de0b044d64c000775b197515c6d7d991c938
tree9128ebe1e710ed214d80316a7fd1d06940db6355
parent9824112cfa187648b200b16dda1884ff54f64e52
(head_lines, head_file): Avoid setmode; use POSIX-specified routines instead.
(elide_tail_bytes_file, elide_tail_lines_file, head_bytes):
(head_lines, head_file): Always use binary mode except for std tty.
src/head.c