Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/resolv

Module Name:    src
Committed By:   mrg
Date:           Tue Jan 27 05:13:23 UTC 2009

Modified Files:
        src/lib/libc/resolv: res_send.c

Log Message:
fix a very old resolver bug:

when looping over the current list of sockets we're connected to,
use getpeername() not getsockname() to find out who the remote
end is.  avoid spurious close()s and (rare) failure.

apparently known as ISC bug #18625, and fixed in libbind 6.0

To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/lib/libc/resolv/res_send.c

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

Home | Main Index | Thread Index | Old Index