Commit Graph

31 Commits

Author SHA1 Message Date
hubertf 48b31403c5 Remove duplicate #includes
From Slava Semushin <slava.semushin@gmail.com>, via private mail
2007-01-17 00:21:43 +00:00
elad 1232ea27c4 PR/18906: roskens at elfin dot net: misc. select() to poll() updates.
Adapted to -current by myself, thanks for the patch!
2006-10-07 17:27:57 +00:00
mrg a8177e2129 use socklen_t where appropriate. 2006-05-11 00:27:27 +00:00
mrg 4bc6feceb6 end the argument list to exec*(3) with a NULL instead of a bare '0', as
the latter isn't a pointer context in these varargs functions.
2006-05-11 00:22:52 +00:00
christos fc56e77334 Coverity CID 1483: Off-by-one stack overflow. 2006-04-30 23:43:31 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
mycroft 3ead3ad29b select() -> poll() 2002-09-18 19:54:25 +00:00
wiz db575159df Remove #if !__STDC__ code. While here, de-__P(). 2002-06-13 23:41:15 +00:00
jdc 88bb8fc858 Don't use curses' VB - it should be internal to libcurses.
Use tgetstr() instead.
2000-12-17 14:28:45 +00:00
mycroft 2d75f971b4 Eliminate a bunch of terminal hackage that we do not need. 2000-04-27 16:48:42 +00:00
mycroft f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
soren 30d18a154c Remove extraneous colons and newlines from perror(3) arguments. 1999-09-30 12:35:52 +00:00
mrg ec70388809 add a comment 1999-08-24 09:16:36 +00:00
itohy 2b46b2b820 Eliminate illegal cast from function pointer (sig_t) to object pointer (void *). 1999-07-26 01:49:09 +00:00
christos b62bb45812 - prototype tgetstr()
- add decls for *SE, *SO, *SV for svr4
- initscr() should not be compared with ERR, but NULL, since it returns
  a window pointer.
1998-11-06 22:14:58 +00:00
christos dbc0627f1d use waitpid instead of wait3 1998-11-06 20:05:43 +00:00
mycroft e683da3ba6 const poisoning. 1998-07-26 22:38:15 +00:00
mrg 32f519716b - 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:56:06 +00:00
christos eae55ce3e5 oops... tyop 1998-03-04 13:44:48 +00:00
christos 2dbdac9937 - WARNSify
- add missing programs (mkmake, prt3270)
1998-03-04 13:16:04 +00:00
thorpej c85905a814 Change a couple of exit()s to _exit(), so that they're safe for vfork(). 1997-12-31 06:12:20 +00:00
mikel 75418659ae use mkstemp() and plug memory leak; fixes PR bin/3517. 1997-04-23 07:11:09 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
cgd ff5fc3cf84 delete bogus declaration of abort() and include stdlib.h, so that this
compiles w/o warning.
1995-12-11 23:22:09 +00:00
thorpej de321ad16f Conversion from sgtty to termios, from Scott Reynolds <scottr@plexus.com>. 1995-10-10 04:18:01 +00:00
cgd 2e659538b6 string.h, and clean up signal handler-related warnings. 1995-04-29 05:56:57 +00:00
cgd 82ed2d9b7d kill uses of gets() 1994-04-10 07:20:35 +00:00
cgd f728b8e770 move include file to where it belongs 1994-02-25 03:40:25 +00:00
mycroft 3158f25b88 Don't declare _putchar(). (Curses does it.) 1993-08-10 00:08:52 +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