(__res_vinit): Initialize _u._ext.initstamp.
authordrepper <drepper>
Thu, 5 Aug 2004 23:30:14 +0000 (23:30 +0000)
committerdrepper <drepper>
Thu, 5 Aug 2004 23:30:14 +0000 (23:30 +0000)
resolv/res_init.c

index d0559c3..078480c 100644 (file)
@@ -161,6 +161,10 @@ __res_vinit(res_state statp, int preinit) {
 #ifndef RFC1535
        int dots;
 #endif
+#ifdef _LIBC
+       extern unsigned long long int __res_initstamp attribute_hidden;
+       statp->_u._ext.initstamp = __res_initstamp;
+#endif
 
        if (!preinit) {
                statp->retrans = RES_TIMEOUT;