Commit Graph

35 Commits

Author SHA1 Message Date
dholland 6a9155ad5a Don't try to estrdup() NULL; thanks martin@ 2013-08-11 16:36:30 +00:00
dholland bd3f97bffb Pass WARNS=5. 2013-08-11 05:42:41 +00:00
christos 2343154519 pass lint 2006-11-16 04:31:24 +00:00
christos f8013c3836 fix gcc4 sign issues. 2006-11-16 04:15:13 +00:00
christos 057e8f6aa6 Support VEOL2 and VSTATUS 2005-05-21 17:18:51 +00:00
christos ce26902593 add const to cgetent arg. 2004-04-23 21:04:25 +00:00
agc 8e6ab8837d Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22284, verified by myself.
2003-08-07 09:46:37 +00:00
mycroft aae6c28cf9 null commit 2002-09-23 12:44:34 +00:00
itojun a9fc5f306a poll.h, not sys/poll.h 2002-09-23 03:32:34 +00:00
mycroft 5580adb284 select() -> poll() and nanosleep() 2002-09-18 20:04:51 +00:00
thorpej 5648feb374 ANSI'ify. 2001-11-10 17:35:54 +00:00
mjl 4fdc259981 Use strlcpy/strlcat instead of strn* plus manual termination.
Use sizeof() instead of hardcoded length. Clean up NULL vs 0
confusion. sizeof(char) is 1, really.
2000-09-19 16:17:48 +00:00
mrg d5088f6ab0 remove register. 1998-03-30 01:52:02 +00:00
mikel 64521eb343 use <sys/cdefs.h> __COPYRIGHT() and __RCSID() macros
prototype internal functions and eliminate old function declarations
misc cleanup (gcc -Wall) and KNF
1997-08-06 07:22:24 +00:00
tls 80eef670d5 fix a couple of unlikely buffer overflows. 1997-04-29 21:01:54 +00:00
thorpej 4d99eaeb74 Don't truncate long hostnames.
From SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp>, PR #2676.
1996-09-27 02:15:35 +00:00
thorpej 3ff0b1a74c RCS id police. 1996-07-31 20:33:02 +00:00
mycroft d31086db17 Update from kernel source. 1995-10-05 08:51:31 +00:00
mycroft 4a508a1252 Change to use SET(), CLR(), and ISSET() macros. Copy current sgtty->termios
conversion code from kernel.
1995-10-05 07:16:25 +00:00
mycroft a38b5c448f Fix some other problems created during the termios switch. 1995-10-05 00:54:45 +00:00
mycroft 2da76ff341 Simulate the old newline behaviour better, and make sure OPOST
is set if needed.
1995-10-05 00:40:33 +00:00
pk 6b619f18ed Use tcflush(). 1994-09-05 09:09:43 +00:00
pk 437ee32a52 Set control flags properly while in read mode.
Supply process ID when syslogging.
1994-09-05 08:52:49 +00:00
mycroft 4695fa8444 Use _POSIX_VDISABLE, not \377. 1994-08-24 16:39:24 +00:00
mycroft d72774f29d Use cfset[io]speed() to set termios speeds, per POSIX. 1994-08-24 07:54:50 +00:00
pk 4bba3e65c6 The man page says to disable input parity checking if `ap' is on. 1994-08-17 20:27:59 +00:00
pk fe82241620 Cleanup import, merge local changes. 1994-08-17 20:10:27 +00:00
pk 462fa7ef48 Handle parity stuff more sensibly; `ep' and `op' take precedence over `ap'.
Update tty_compat().
1994-08-15 15:46:44 +00:00
pk 7243f6f6fb Towards termios. 1994-04-28 22:12:28 +00:00
cgd 41a949b1b4 renamed 'md' to 'mb' 1994-04-16 05:15:51 +00:00
cgd 353d8f840d quick cut at adding 'md' for MDMBUF 1994-04-16 03:45:24 +00:00
cgd 03fe423b30 fix bin/140: use getcap(3) routines 1994-03-09 04:59:55 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd f67174d697 patch from David Greenman and Rod Grimes (davidg@implode.rain.com and
rgrimes@agora.rain.com) to support 57600 and 115200 baud
1993-06-05 22:40:40 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00