Commit Graph

61 Commits

Author SHA1 Message Date
stefanf
cc3fe5f835 - Signal handlers must have an int argument.
- Use prototypes.
- Add a cast for a signed vs unsigned comparison.
- Mark as WARNS?=3 clean.
2004-08-02 08:10:28 +00:00
ru
a80e8fe473 Mechanically kill hard sentence breaks. 2004-07-02 21:45:06 +00:00
markm
3382584a53 Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp
2004-04-09 19:58:40 +00:00
johan
1a1602ce7d style.Makefile(5):
Use WARNS?= instead of WARNS=.
2004-02-23 20:25:27 +00:00
obrien
dc8b1199b7 Centralize _PATH_* definitions.
Submitted by:	Tim Kientzle <kientzle@acm.org> (embellished by me)
2003-05-05 22:49:23 +00:00
charnier
79bef1e3a7 Use `The .Nm utility' 2002-04-19 23:06:29 +00:00
imp
a215ab7b12 o remove __P
o remove main prototype
2002-03-21 13:20:49 +00:00
obrien
f0428c61e5 Remove 'register' keyword.
It does not help modern compilers, and some may take some hit from it.
(I also found several functions that listed *every* of its 10 local vars with
 "register" -- just how many free registers do people think machines have?)
2002-03-20 17:55:10 +00:00
obrien
a537f22ad4 Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
2001-12-04 02:19:58 +00:00
ru
cb3283b5da mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
ru
e7c03cd6b0 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
e2a472a47a Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
ru
b1c3961564 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ru
57f7a8db57 Prepare for mdoc(7)NG. 2000-12-18 15:16:24 +00:00
ru
d16dd614f6 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
joe
4bf22d1729 Fixes a potential buffer overflow with the pid filename.
Submitted by:	Mike Heffner <spock@techfour.net>
Submitted on:	audit@freebsd.org
2000-04-30 21:04:36 +00:00
sheldonh
ad4c77c29e Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
peter
e226894fa0 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
charnier
2060c72365 Correct use of .Nm and .Ev.
Add rcsid, rmove unused #include. Spelling.
1998-08-03 06:32:57 +00:00
bde
2b7681ae86 Fixed printf format errors. 1998-08-02 16:06:35 +00:00
bde
6a8702c32a Fixed printf format errors, scanf format errors and scanf error handling. 1998-06-28 20:40:51 +00:00
eivind
af172b7132 Remove unused include files
Submitted by:	bde
1997-12-22 13:46:08 +00:00
eivind
89ba4f88ae Remove unused private header.
Submitted by:	max
1997-12-21 15:35:22 +00:00
charnier
1eab8da693 Use err(3). Add missing prototypes. Cosmetic in usage string. 1997-06-19 14:38:53 +00:00
bde
e655586c02 Fixed missing DPADD. Removed now-redundant SRCS. 1997-04-01 07:43:14 +00:00
brian
290dc20dec Remove the syslog stuff, and allow various return values
in uu_lock().  Add uu_lockerr() for turning the results of
uu_lock into something printable.  Remove bogus section in man page
about race conditions allowing both processes to get the lock.
Include libutil.h and use uu_lock() correctly  where it should.

Suggested by:	ache@freebsd.org
1997-03-31 22:51:00 +00:00
brian
1e0f01eb52 Move uucplock into libutil and create a manual page. 1997-03-30 12:12:20 +00:00
imp
88b6081b7e compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 03:33:12 +00:00
peter
4997d39dce Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wosch
e902881dbf Sort cross references. 1997-01-13 00:25:51 +00:00
wollman
38d624cc24 Update to match changes in <net/if.h>. 1997-01-03 20:19:50 +00:00
wollman
e518804de3 Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves.  (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!)  Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
bde
0350140145 Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications.  Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
1996-09-24 08:08:11 +00:00
bde
551a3d945e Fixed a couple of format strings to match the change of pid_t from long
to int32_t.  I only fixed the ones that I noticed the warnings for.
Perhaps most of the format strings are correct now because they were
wrong before.  Except of course if int32_t isn't compatible with `int'.
1996-04-13 15:47:43 +00:00
ache
f44d5eead8 Prepare to eliminate multiply uucplock.c copies 1996-03-04 10:35:45 +00:00
mpp
15edaba8d4 Fix a bunch of spelling errors. 1996-01-29 23:52:43 +00:00
peter
639da796bd recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
ache
d7856aec57 Log user name with each info and total connection time elapsed
(for accounting purposes). Log few additional events like dialing
number and connection established. Set speed POSIXly.
1995-09-27 17:15:37 +00:00
ache
079584f6ab Rename PATH_LOCK to PATH_UUCPLOCK 1995-09-23 15:17:32 +00:00
ache
4822c15f35 Use new _PATH_LOCK for lock names 1995-09-20 13:10:50 +00:00
ache
42a2c13fa4 Make uucp-lock optional: -L option 1995-09-20 04:56:09 +00:00
ache
8e65a4a26a Fix uucp locking
Remove unnecesary TIOCSETD
Move SLIO* before startup script call
1995-09-19 03:37:07 +00:00
ache
50037f95a4 New option: -S #: set SLIP unit number 1995-09-18 14:01:11 +00:00
ache
7a75e736ec Add new options:
-K: set keepalive SLIP timeout
-O: set outfill SLIP timeout
Handle SIGURG from keepalive like SIGHUP now, i.e. reconnect.
Back out background scription change, cause some synchro problems.
1995-09-17 21:47:24 +00:00
ache
bf5cfb0fdd Use daemon() instead of fork/setsid/close.
Rearrange things to do fork as later as possible.
1995-09-16 05:18:20 +00:00
ache
e0aca6a75a Oops. Fix my error with -W option 1995-09-15 22:18:45 +00:00
ache
58c05ab78e Close line before fork, or becomes close twice.
Debug output cleanup.
1995-09-15 20:34:55 +00:00
ache
0b58a09f99 Tune it to REALLY sense carrier drop.
Now works with dialin devices too.
Add new option in slattach style -l: dont use modem control.
Add new option -W: specify max number of dial tries for one phone.
Remove -p option, this ugly hack not needed.
Fix script timeout expires.
Some code cleanups.
1995-09-15 20:06:50 +00:00
ache
99da8a3357 Restore TTYDISC on exit. Move setting of control terminal
after TTYDISC setting
1995-09-15 17:30:03 +00:00