History log of /src/lib/libc/net/hesiod.c |
Revision | | Date | Author | Comments |
1.30 |
| 10-Mar-2017 |
maya | Remove entirely redundant free right after declaration.
This block existed because the original code used bindname as a global.
|
1.29 |
| 10-Mar-2017 |
maya | Drop redundant null checks.
this doesn't increase diff to upstream, the whole block differs already.
|
1.28 |
| 18-Sep-2014 |
christos | branches: 1.28.2; 1.28.4; make more descriptors that we open as close-on-exec
|
1.27 |
| 20-Mar-2012 |
matt | Use C89 Prototypes. Remove use of __P
|
1.26 |
| 15-Oct-2011 |
christos | branches: 1.26.2; use fparseln
|
1.25 |
| 05-Jan-2011 |
wiz | Fix fdleak in error case. Found by cppcheck.
|
1.24 |
| 19-Oct-2005 |
christos | Let the default case handle all the errors; no functional change.
|
1.23 |
| 28-Feb-2005 |
lukem | Prevent NULL deref upon malloc failure.
|
1.22 |
| 23-May-2004 |
christos | centralize res_*init() calls in __res_get_state()
|
1.21 |
| 21-May-2004 |
christos | Finish bind9 resolver merge.
|
1.20 |
| 11-Nov-2002 |
thorpej | Fix signed/unsigned comparison warnings.
|
1.19 |
| 16-Aug-2002 |
itojun | use strlcat
|
1.18 |
| 16-Aug-2002 |
itojun | fix weird indent for comment lines
|
1.17 |
| 16-Apr-2002 |
groo | Minor KNF + proper end of string detection in read_config_file() Inspired by xs@kittenz.org
|
1.16 |
| 13-Feb-2001 |
sommerfeld | branches: 1.16.2; Replace strcpy with strlcpy and bounds check. From mheffner@vt.edu via freebsd-audit@freebsd.org via hesiod@mit.edu
|
1.15 |
| 31-Oct-2000 |
lukem | Don't getenv $HESIOD_CONFIG or $HES_DOMAIN if issetugid(). Initial problem noted by Danny Braniss <danny@cs.huji.ac.il> via Jacques A. Vidrine <n@nectar.com>
|
1.14 |
| 07-Jul-2000 |
itohy | Passing "char" values to ctype(3) functions is problematic. If an argument of a ctype function is outside "unsigned char" and if it is not EOF, the behavior is undefined.
The isascii(3) is the sole exception of above and it was used to be used to check a value was valid for other ctype functions in ancient systems. On modern systems, the ctype functions take all values of "unsigned char", and this check is obsolete and even wrong for non-ASCII systems. However, we leave the isascii() untouched for now, so as not to change the current behavior.
|
1.13 |
| 18-Jun-2000 |
ghudson | branches: 1.13.2; Set errno when res_mkquery fails.
|
1.12 |
| 22-Jan-2000 |
mycroft | branches: 1.12.2; Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
1.11 |
| 20-Sep-1999 |
lukem | back out the #ifdef _DIAGNOSTIC argument checks; too many people complained. _DIAGASSERT() is still retained.
|
1.10 |
| 16-Sep-1999 |
lukem | * use _DIAGASSERT() to check pointer arguments against NULL and file descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls.
the first two items result in the addition of code similar to the following in various functions:
_DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
|
1.9 |
| 11-Feb-1999 |
simonb | branches: 1.9.2; In hesiod_to_bind(), don't append lhs and an extra dot if lhs is empty. Now works with Ultrix hesiod.conf files.
|
1.8 |
| 25-Jan-1999 |
lukem | after discussion with greg hudson, change default classes back to "in,hs"
|
1.7 |
| 25-Jan-1999 |
lukem | * change default classes from "IN,HS" to "HS" (for backwards compat with older hesiod.conf files & parsers) * check list != NULL in hesiod_free_list() * hes_free() is now just a wrapper to hesiod_free_list()
|
1.6 |
| 25-Jan-1999 |
lukem | merge in hesiod 3.0.2 distribution
|
1.5 |
| 21-Jan-1999 |
mycroft | Use class IN. (In current Athena code, this is configurable.)
|
1.4 |
| 20-Jan-1999 |
christos | - fix a misplaced parenthesis in an if statement - caddr_t -> void * - remove unnecessary casts - turn code repeated 3 times into a macro
|
1.3 |
| 15-Jan-1999 |
thorpej | Fix LP64 warnings.
|
1.2 |
| 15-Jan-1999 |
lukem | merge nsswitch into main branch
|
1.1 |
| 06-Nov-1996 |
lukem | branches: 1.1.2; 1.1.4; file hesiod.c was initially added on branch nsswitch.
|
1.1.4.3 |
| 02-Nov-1998 |
lukem | sync with current, assign my copyrights to TNF
|
1.1.4.2 |
| 24-May-1997 |
lukem | fix merge (differences in original and current definitions of StringLists)
|
1.1.4.1 |
| 23-May-1997 |
lukem | * Add nsdispatch(3) implementation * Deprecate support for "lookup" in resolv.conf
|
1.1.2.1 |
| 06-Nov-1996 |
lukem | initial nsswitch implementation
|
1.9.2.1 |
| 31-Oct-2000 |
he | Pull up revision 1.15 (requested by sommerfeld): If setuid, ignore environment variables.
|
1.12.2.1 |
| 23-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.13.2.4 |
| 17-Apr-2002 |
he | Pull up revision 1.17 (requested by groo): Minor style adjustments, and do proper end of string detection in read_config_file().
|
1.13.2.3 |
| 17-Apr-2002 |
he | Pull up revision 1.14 (requested by he): Cast arguments to isspace() to u_char.
|
1.13.2.2 |
| 17-Apr-2002 |
he | Pull up revision 1.16 (requested by he): Replace strcpy() with strlcpy() and bounds check.
|
1.13.2.1 |
| 01-Nov-2000 |
tv | Pullup 1.15 [lukem]: Don't getenv $HESIOD_CONFIG or $HES_DOMAIN if issetugid(). Initial problem noted by Danny Braniss <danny@cs.huji.ac.il> via Jacques A. Vidrine <n@nectar.com>
|
1.16.2.3 |
| 10-Dec-2002 |
thorpej | Sync with HEAD.
|
1.16.2.2 |
| 27-Aug-2002 |
nathanw | Catch up to -current.
|
1.16.2.1 |
| 25-Apr-2002 |
nathanw | Catch up to -current.
|
1.26.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.28.4.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.28.2.1 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|