summaryrefslogtreecommitdiff
path: root/usr.bin/cmp
AgeCommit message (Collapse)Author
1994-03-25Fix bug in handling short reads.mycroft
1993-12-02As suggested by Xavier Leroy <xavier@Theory.Stanford.EDU>, make sure we don'tmycroft
flag a short read on the 2nd file as an EOF when it isn't. This implementation differs in that at most one read is done per file per comparison, so that an early mismatch may avoid hanging on input or continuing some expensive process if reading from a pipe.
1993-11-23Get rid of otoi(), use strtoul() instead. Not only gets rid of a function,jtc
but allows hex offsets as well. Misc other minor tweaks.
1993-09-21Document the fact that cmp now conforms to POSIX.2.jtc
1993-09-21Changed to conform to POSIX.2:jtc
EOF message printed to stderr. Removed bogositys wrt. getopt() processing (special casing `-' is unnecessary). Updated usage message to document fact that -s and -l options are mutually exclusive.
1993-08-01Add RCS identifiers.mycroft
1993-08-01Add RCS indentifiers.mycroft
1993-07-31Add RCS indentifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd