Commit Graph

11 Commits

Author SHA1 Message Date
lukem 7202b75851 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 13:02:59 +00:00
jtc 5a172566ef Fixed bug I introduced when changing printf comparison vs. EOF. Noted by
andreas@planix.com.
1995-09-05 19:57:43 +00:00
jtc 3e4b73c5a6 Sync with 4.4lite2 1995-09-02 05:45:13 +00:00
glass e5a8e93b12 points lost 1995-03-27 15:54:30 +00:00
jtc d5a6ad4fdc The return value of printf is less than 0, not necessarily EOF, on failure. 1995-03-26 20:12:13 +00:00
glass 244eb8b5c5 merged with 4.4Lite 1995-03-26 09:25:49 +00:00
jtc bb8238b9db Check writes to stdout; if a write fails, comm writes a diagnostic message
to standard error and aborts with a non zero exit value.
1994-11-08 18:37:10 +00:00
jtc 2ddbb97f0f #include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.
1993-10-13 18:33:45 +00:00
jtc f83d35d084 Remove cruft from getopt processing (`-' need not be special cased).
Include appropriate header files to bring prototypes into scope.
Use setlocale() to set locale, and strcoll() for comparisions even though
this won't work until full localization support is completed.
Document the fact that comm now conforms to POSIX.2.
1993-09-21 23:20:34 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00