Commit Graph

47 Commits

Author SHA1 Message Date
perry
8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
groo
9361711536 Be careful about destination buffer having positive size. 2003-01-15 00:29:13 +00:00
tron
8fcc2bc94f The file "src/dist/dhcp/minires/res_mkupdate.c,v" is corrupted on
"anoncvs.netbsd.org" and hence in many checked out source trees. Add
a dummy revision to fix that problem.
2003-01-02 10:04:32 +00:00
thorpej
eb4df29507 Avoid strict alias warnings. 2002-12-06 04:09:30 +00:00
thorpej
452f3dd1ad Avoid strict-alias warnings. 2002-12-06 04:06:13 +00:00
thorpej
6086842609 Avoid strict alias warnings. 2002-12-06 04:02:49 +00:00
wiz
bcae355603 Fix typo. Found by Adrian Mrva. 2002-10-29 16:16:14 +00:00
wiz
756bcd1182 Fix typo. Found by Adrian Mrva. 2002-10-29 16:08:59 +00:00
wiz
4b20971f01 Spell acquire with a 'c'. 2002-07-10 23:16:32 +00:00
drochner
ee19f13ab5 add a "ddns-updata-style" line; dhcpd won't start without one
(PR bin/12702 by Patrick Welche)
2002-06-19 15:49:02 +00:00
wiz
a518254934 Add a missing semicolon. Reported by Ian Dall in bin/17311. 2002-06-19 08:51:38 +00:00
matt
1a1ebdfac1 If rcsid away since gcc3 doesn't like unreferenced static vars. Also we
do that for other stuff like tcpdump.
2002-06-15 01:32:13 +00:00
wiz
67e1c672d0 'comparison', not 'comparision' (hi Matthias!) 2002-06-11 15:22:57 +00:00
drochner
15dd275fb1 some more:
add a comment at some code which looks like nonsense but is a -fshort-enums
fix (by bjh21)
2002-06-11 15:16:28 +00:00
drochner
0cfebeeb7a add a comment at some code which looks like nonsense but is a -fshort-enums
fix (by bjh21)
2002-06-11 14:50:30 +00:00
drochner
d6101bf1eb get closer to the original in a whitespace matter 2002-06-11 14:27:21 +00:00
drochner
e13d261ece Coordinated Universal Time, damnit! 2002-06-11 14:24:54 +00:00
drochner
70e620efb1 remove a wrong fix: UTC is really "Coordinated Universal Time" 2002-06-11 14:22:18 +00:00
drochner
01ce8ad711 printf format fix 2002-06-11 14:17:27 +00:00
drochner
7020df4066 make it compile with -Wall again 2002-06-11 14:12:58 +00:00
drochner
c12aee07f2 merge dhcp-3.0.1rc9 2002-06-11 13:59:59 +00:00
drochner
0fbf47fd83 import of ISC dhcp-3.0.1rc9 2002-06-11 12:24:31 +00:00
itojun
5b43820fcf WARNS=1 clean. patch submitted to dhcp-bugs@isc.org. 2002-06-10 00:30:33 +00:00
itojun
5ecb76484a missing initialization of sockaddr. from deraadt 2002-06-02 15:17:17 +00:00
wiz
d30d25dc1a Spelling fixes, from Sergey Svishchev in kern/16650. 2002-05-12 15:48:36 +00:00
christos
abf0491189 fix the error message to print the correct value. Pointed out by Richard Rauch 2002-04-03 03:32:50 +00:00
bjh21
913037a61e When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-18 20:26:50 +00:00
bjh21
ad4b72abb9 Check isc_result_t values with != ISC_R_SUCCESS, rather than < 0.
Suggested by Ted Lemon, but not yet in an ISC DHCP release.
This is necessary to avoid warning with -fshort-enums.
2002-03-18 20:25:58 +00:00
bjh21
76b77c2c35 When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-18 20:16:49 +00:00
bjh21
6047cf765e Another change from 3.0.1rc7:
- Fix a bug in ns_parserr(), where it was returning the wrong sort
  of result code in some cases.

This is required to allow some -fshort-enums warnings to be fixed.
2002-03-18 20:13:53 +00:00
bjh21
a4f14f6e11 Pull down change from 3.0.1rc7:
- Fix a bug in is_identifier(), where it was checking against EOF
  instead of the END_OF_FILE token.

This is required to eliminate a warning with -fshort-enums.
2002-03-18 19:54:11 +00:00
martin
3a47d27d5d Fix two LP64/be bugs, patch from ura@hiru.aoba.yokohama.jp in PR 15641. 2002-02-17 20:18:52 +00:00
thorpej
7ff92fc079 PTRSIZE_64BIT on x86_64, too. 2002-01-23 02:37:39 +00:00
wiz
78e040dc00 Check for '-' as first character only after we checked all recognized
options. Problem report and fix by Tero Kivinen in bin/14935.
2001-12-14 15:20:17 +00:00
wiz
6f171e404b Misc formatting fixes. 2001-12-07 19:14:08 +00:00
wiz
b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
wiz
b8625f9b65 extensions-path-name -> extensions-path (misc/14147). 2001-10-04 12:26:25 +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
eeh
c994f996ff Fix LP64 bug. 2001-08-24 15:28:47 +00:00
drochner
6c1ac34eb0 remove .cvsignore files which got imported inadvertently, as pointet
out by Ben Harris
2001-08-07 08:31:16 +00:00
wiz
2b4b375b7e Remove unneeded files. okay'd by drochner. 2001-08-03 15:35:09 +00:00
wiz
a27c467882 Typo fix. 2001-08-03 13:50:07 +00:00
wiz
0624fa6b95 Replace remaining occurances of DBDIR and RUNDIR with corresponding
NetBSD paths.
2001-08-03 13:47:17 +00:00
drochner
f71d61482d pull in a patch from usr.sbin/dhcp: const-ification 2001-08-03 13:39:05 +00:00
drochner
fce24bb552 pull in manpage adaptions / corrections from usr.sbin/dhcp 2001-08-03 13:34:08 +00:00
drochner
e0c9112eff pull in code patches from usr.sbin/dhcp 2001-08-03 13:07:03 +00:00
drochner
bd5592e542 import of ISC dhcp-3.0rc10 2001-08-03 11:35:28 +00:00