CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/10/08 02:31:53
Modified files:
usr.bin/head : head.c
Log message:
Fix a 37 year old bug introduced by Bill Joy on August 24, 1977
that was already present in the 1BSD release on March 9, 1978
by merging Keith Bostic's 22 year old fix from 4.4BSD (not kidding).
Original CSRG SCCS commit message:
^As 00009/00006/00145
^Ad D 5.7 92/03/04 14:35:42 bostic 9 8
^Ac can't use freopen; example is "date | head file1 /dev/stdin"
ok deraadt@ tedu@, also checked by Martin <Natano dot net>