Commit Graph

22 Commits

Author SHA1 Message Date
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
matt fcd0fb118f Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
2000-07-03 02:51:12 +00:00
christos 7ccd2afae9 Teach the socket code a few things about this decade (should fix the
problem where COMPAT_43 was required for it to work)
2000-03-02 17:37:46 +00:00
proff 209c8a802a ctrl-g is beep(), not "^G", damnit. strictly for the attention deprived. 1999-08-13 13:52:59 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
christos 719b192026 sigvec->sigaction 1998-12-19 22:36:11 +00:00
mycroft a405bce56c const poisoning. 1998-07-26 22:26:29 +00:00
mrg 2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
jtc 9a0063c6d6 Simply include -lcurses instead of -lcurses -ltermcap 1998-02-18 22:47:41 +00:00
christos 60315cbc81 Does not need -lcompat 1998-02-02 14:10:45 +00:00
lukem 32a9e65f70 WARNSify, fix .Nm usage, deprecate register, convert select to fd_set 1997-10-20 00:23:14 +00:00
is ab90e48ac0 Use isprint() instead of hardcoded c<' '. This way, as soon as isprint() and
friends are localized, talk will be able to communicate in (e.g.) ISO-8859-1.
Patch by Matthias Scheler (PR bin/2874).
1997-04-21 16:15:32 +00:00
jtc 51207773f0 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-09 02:14:09 +00:00
deraadt 8ef0a5ca8b don't trounce on argv[1] 1994-04-17 12:31:05 +00:00
cgd 2b12186e93 kill warning/error 1994-03-28 11:17:16 +00:00
cgd 335cfa780f a core is a bad thing to drop; check NULL 1994-01-24 22:03:04 +00:00
mycroft 65caf7fdfd #include <sys/ioctl.h>, to get FIONREAD. 1993-08-14 13:47:51 +00:00
mycroft 330f671351 Use termios rather than sgttyb. 1993-08-10 00:07:05 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 75ff3a90bd Add RCS identifiers. 1993-07-30 23:49:23 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00