Commit Graph

13 Commits

Author SHA1 Message Date
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
mrg dc8adb9e7c don't warn about missing files with -s. POSIX doesn't define a specific
action, and, most other implimentations use this (sane) method.  (from jtc).
1996-02-01 03:32:41 +00:00
tls 94f6fc8e46 Sync with 4.4lite2 1995-09-08 03:22:54 +00:00
tls 46ef75ac74 imported from 44lite2 1995-09-04 21:07:24 +00:00
mycroft adf20f8c80 Fix bug in handling short reads. 1994-03-25 17:07:02 +00:00
mycroft 84f6895ad3 As suggested by Xavier Leroy <xavier@Theory.Stanford.EDU>, make sure we don't
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-12-02 01:56:04 +00:00
jtc 4d9f06c8e5 Get rid of otoi(), use strtoul() instead. Not only gets rid of a function,
but allows hex offsets as well.
Misc other minor tweaks.
1993-11-23 00:50:46 +00:00
jtc ed96eac23a Document the fact that cmp now conforms to POSIX.2. 1993-09-21 22:37:52 +00:00
jtc 8ad38f4118 Changed to conform to POSIX.2:
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-09-21 22:35:56 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00