joerg
48a413800a
Simplify
2011-05-24 12:24:22 +00:00
christos
fdcc1029ab
use warn/err.
2011-05-21 00:43:52 +00:00
christos
0be029e699
counting was off, and setting things to themselves does not work very welll.
2011-05-20 02:00:45 +00:00
christos
ec9611ac0f
- use getopt
...
- use err
- add -p <filelevel> to chop levels like patch
- document all the options
2011-05-19 22:55:53 +00:00
dholland
69c3e9d213
Pass WARNS=4, not without some gross preprocessor hackery.
...
XXX: does this program actually do anything useful these days?
2009-08-13 06:59:37 +00:00
dholland
e63a3e7105
Assorted minor cleanup:
...
- use stdbool.h (partly)
- move extern declarations of data to header files
- use right types for calloc() wrapper
- remove bogus casts on return values
- remove excessive Pascal-style parentheses in conditionals
- a couple const fixes
- fix some typos in comments
2009-08-13 05:53:58 +00:00
dholland
7d59a3fee1
pass -Wshadow
2009-08-13 04:09:53 +00:00
dholland
72efe4fb6f
Sprinkle const.
2009-08-13 03:50:02 +00:00
dholland
f42113e362
Whitespace.
2009-08-13 03:07:49 +00:00
dholland
b74af21b24
sprinkle static
2009-08-13 02:10:50 +00:00
lukem
5d427989ff
Convert to raise_default_signal(3).
2007-10-05 07:27:41 +00:00
lukem
9159f5b246
Support an explicit Q_error return from inquire(), which is returned
...
if there was an error on reading the reply.
Stops an infinite loop if you ^D the query.
2007-07-19 05:43:23 +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
wiz
eaf8f8a4e5
Remove #ifndef'd __STDC__ code. ANSIfy.
2002-05-26 22:41:20 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
christos
e0475d14f3
fix redundant and nested decls
2001-02-05 01:44:07 +00:00
is
135600f947
More format string cleanup by sommerfeld.
2000-10-11 14:46:00 +00:00
kleink
513b25c0e9
For temporary files' pathnames, check $TMPDIR before falling back to _PATH_TMP.
1999-11-06 15:11:46 +00:00
mrg
e37e81a273
remove unused extern.
1998-03-30 02:19:45 +00:00
mrg
66f7b9fd72
fix compile warnings on the alpha.
1997-10-19 14:05:56 +00:00
lukem
397a8a0855
WARNSify (big job!), fix .Nm usage
1997-10-18 14:44:21 +00:00
pk
f6d87734a6
NULL => 0 (Arne Juul; PR#3629)
1997-05-17 19:40:47 +00:00
lukem
4e01c5d008
use mkstemp() instead of mktemp()
1997-03-22 03:42:57 +00:00
jtc
71bb6dda25
Sync with 4.4lite2
1995-09-02 05:57:23 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
a6cd7e84d0
added, from net/2 (patch 119).
1993-04-09 12:58:06 +00:00