Merge from trunk.
........
r66022 | chris_kohlhoff | 2010-10-17 00:15:51 +1100 (Sun, 17 Oct 2010) | 2 lines
Pass NULL for servname rather than empty string, as per POSIX. Fixes #4690.
r66056 | chris_kohlhoff | 2010-10-18 08:24:55 +1100 (Mon, 18 Oct 2010) | 2 lines
Fix so that read operations do not accept const_buffers_1 arguments. Fixes #4746.