OpenBSD CVS

CVS log for src/usr.bin/head/head.c


[BACK] Up to [local] / src / usr.bin / head

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_5_7_BASE


Revision 1.18 / (download) - annotate - [select for diffs], Wed Oct 8 08:31:53 2014 UTC (9 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.17: +7 -5 lines
Diff to previous 1.17 (colored)

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>

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.