Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fread() returns 0 on eof or error, not EOF. This fixes the following | des | 1998-10-09 | 1 | -2/+2 |
| | | | | | | | | | | bug: "head -c <n>" never exit and loops forever (until it is killed), if the input stream has fewer bytes than specified (n). PR: bin/8225 Submitted-by: FUJIMOTO Kensaku <fujimoto@oscar.elec.waseda.ac.jp> | ||||
* | Setting eval to 1 after calling warn was the original behaviour. | charnier | 1997-07-11 | 1 | -1/+2 |
| | |||||
* | Use err(3) instead of local redefinition. | charnier | 1997-07-10 | 1 | -42/+14 |
| | |||||
* | Support for -c, byte count. | alex | 1997-04-06 | 2 | -8/+49 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -1/+1 |
| | | | | posix standard on the topic. | ||||
* | Merge from Lite2 | peter | 1997-03-11 | 1 | -3/+5 |
| | |||||
* | first check the count and then get | wosch | 1996-02-26 | 1 | -1/+1 |
| | | | | | | | the next line of characters and not cause it to first get the characters even if the count (cnt) has become 0. Submitted by: R Bezuidenhout <rbezuide@mikom.csir.co.za> | ||||
* | head(1) ignored EOFs (in certain cases). | joerg | 1995-08-15 | 1 | -3/+2 |
| | | | | | | Closes PR # bin/678: head(1) ignore EOF Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider) | ||||
* | BSD 4.4 Lite Usr.bin Sources | rgrimes | 1994-05-27 | 3 | -0/+254 |