Commit Graph

28 Commits

Author SHA1 Message Date
dholland dc73bb47b8 PR 51192 David Binderman: fix wrong logic (probably)
XXX: this file should probably just be deleted
2016-06-30 05:56:46 +00:00
joerg f20d1d233d Use __dead. Make a bunch of local functions static. 2011-09-06 18:33:01 +00:00
lukem c493aef500 fix -Wsign-compare issues 2009-01-18 07:11:45 +00:00
christos ffe3445041 pass lint; from Anon Ymous 2006-12-14 17:09:43 +00:00
christos 239d1ed129 kill the (void)&foo; from Anon Ymous 2006-12-14 14:18:03 +00:00
christos 97e81e479c sprinkle volatile. 2006-10-22 16:48:34 +00:00
christos c4341bc3e1 Pass a little lint. 2006-04-03 04:53:58 +00:00
perry d71f683e39 Remove vestiges of the ACULOG support. It depended on the suid support
(which is now gone) and it is woefully obsolete -- if something
analogous is ever needed in the future, syslog is the way to do it.
2006-04-03 02:25:27 +00:00
perry eee85da04c Remove support for uucp style locking.
This means we can get rid of the suid/sgid parts of the code (which
have been removed). The program is now installed with normal permissions.

To prevent accidents, we now flock the tty line, attempting to get an
exclusive lock.

Reviewed by: tls
2006-04-03 02:01:28 +00:00
perry 58c2151f1e ANSIfy decls, de-__P, clean trailing whitespace 2006-04-03 00:51:13 +00:00
dsl 293eff3495 Add (unsigned char) cast to ctype functions
islower() can be true for 0x80..0xff
2004-11-04 07:29:09 +00:00
christos 4f6045fcb4 constify and warns = 3 2004-04-23 22:11:44 +00:00
uebayasi 7f507fd263 Use O_WRONLY / O_RDWR instead of bare integers. 2004-03-11 03:33:19 +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
christos 1b5e48e426 char -> unsigned char 1998-12-19 23:02:21 +00:00
christos 4dadb162f6 sigvec->sigaction
sigblock->sigprocmask
sigpause->sigsuspend
XXX: code could be shared here.
1998-12-19 23:02:02 +00:00
mrg 97eafd5059 KNF. ensure buffers are not overrun. 1998-07-12 09:14:19 +00:00
mrg 9de7446997 use static int instead of static 1998-03-30 02:31:44 +00:00
lukem e37283e126 WARNSify, KNFify, using ANSI string functions, cleanup .Nm usage 1997-11-22 07:28:39 +00:00
mrg 53fddda6b9 give buffers lengths; use strdup. 1997-02-11 09:24:03 +00:00
cgd 89dcb48dfb fix up -ansi -pedantic warnings produced because of static function
declarations nested in other functions.  The solution: declare the
static functions at the top level.
1996-12-29 10:41:53 +00:00
cgd b7e69ffbd5 translate '=' in phone number strings into ',' (to generate delays),
as is done for couriers and t3000s.  Ahh, the wonders of being in
a hotel room with source.
1996-11-01 23:56:33 +00:00
pk 258108ce0f Convert to termios (from Scott Reynolds; PR#1621).
8-bit patches (from Matthieu Herrb; PR#1384).
1995-10-29 00:49:38 +00:00
jtc 39801cccde Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-08 09:30:36 +00:00
jtc 3075e8d6b7 imported from 4.4lite 1994-12-08 08:57:40 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd e267ad3fc2 fix from Bakul Shah <bvs@BitBlocks.com> to make tip not dump core
when courier acu routines are used with a non-USR Courier modem.
1993-05-11 06:58:03 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00