Commit Graph

21 Commits

Author SHA1 Message Date
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