This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libc/resolv res_init.c


  Hi!

On Wed, Dec 03, 2008 at 07:05:13AM -0000, drepper@sourceware.org wrote:
> CVSROOT:	/cvs/glibc
> Module name:	libc
> Changes by:	drepper@sourceware.org	2008-12-03 07:05:13
> 
> Modified files:
> 	resolv         : res_init.c 
> 
> Log message:
> 	(__res_vinit): Initialize nscount to zero.
> 
> Patches:
> http://sourceware.org/cgi-bin/cvsweb.cgi/libc/resolv/res_init.c.diff?cvsroot=glibc&r1=1.48&r2=1.49

On Mon, Dec 08, 2008 at 03:59:05AM -0000, drepper@sourceware.org wrote:
> Log message:
> 	(__res_vinit): Always assign to statp->nscount after reading name server list.
> 
> Patches:
> http://sourceware.org/cgi-bin/cvsweb.cgi/libc/resolv/res_init.c.diff?cvsroot=glibc&r1=1.49&r2=1.50

  What is the rationale of these changes? The resolver defaulting to
127.0.0.1 in case no nameservers are specified is a documented feature
and many users e.g. of caching nameservers seem to be relying on it.

  Thanks,

-- 
				Petr "Pasky" Baudis
The average, healthy, well-adjusted adult gets up at seven-thirty
in the morning feeling just terrible. -- Jean Kerr


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]