Subject: CVS commit: src/lib/libc/resolv
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 06/09/2004 18:07:03
Module Name:	src
Committed By:	christos
Date:		Wed Jun  9 18:07:03 UTC 2004

Modified Files:
	src/lib/libc/resolv: Makefile.inc res_data.c res_state.c
Added Files:
	src/lib/libc/resolv: res_compat.c

Log Message:
Jump through taller hoops to provide binary compatibility with programs
compiled with the older and shorter _res. We now use _nres internally
which is the new and bigger one.  We define a _res which is the old
size one if COMPAT__RES is set, and then we consult selected values from
this old _res in res_init(), to emulate the old behavior.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/lib/libc/resolv/Makefile.inc
cvs rdiff -r0 -r1.1 src/lib/libc/resolv/res_compat.c
cvs rdiff -r1.7 -r1.8 src/lib/libc/resolv/res_data.c
cvs rdiff -r1.4 -r1.5 src/lib/libc/resolv/res_state.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.