about summary refs log tree commit diff
path: root/resolv/res_libc.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-05-21 15:40:55 +0000
committerAndreas Jaeger <aj@suse.de>2000-05-21 15:40:55 +0000
commit5d1fba6d95dd24848e741d1a85bf1d64aeee39b1 (patch)
tree8645b28b718342b229b4e24cee73452e44c13a1a /resolv/res_libc.c
parent600a745790b1848910aa8663a0d3478434ef86b3 (diff)
downloadglibc-5d1fba6d95dd24848e741d1a85bf1d64aeee39b1.tar.gz
glibc-5d1fba6d95dd24848e741d1a85bf1d64aeee39b1.tar.xz
glibc-5d1fba6d95dd24848e741d1a85bf1d64aeee39b1.zip
Update.
2000-05-20 2000  H.J. Lu  <hjl@gnu.org>

	* resolv/res_libc.c (_res): Initialize _sock to -1.

2000-05-18  Jakub Jelinek  <jakub@redhat.com>

	* libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
	(fopencookie@@GLIBC_2.2): New.
	(_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
	(fopencookie@GLIBC_2.0): New.
	* libio/Versions: Add fopencookie to GLIBC_2.2.

	* sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
	Closes PR libc/1731.
Diffstat (limited to 'resolv/res_libc.c')
-rw-r--r--resolv/res_libc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_libc.c b/resolv/res_libc.c
index b83c27aaae..fc5cc691ba 100644
--- a/resolv/res_libc.c
+++ b/resolv/res_libc.c
@@ -89,7 +89,7 @@ res_init(void) {
 
 #undef _res
 
-struct __res_state _res;
+struct __res_state _res = { _sock : -1 };
 
 
 struct __res_state *