This is the mail archive of the
glibc-cvs@sourceware.cygnus.com
mailing list for the glibc project.
libc/sysdeps/mach/hurd Tag: glibc-2-1-branch g ...
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/sysdeps/mach/hurd Tag: glibc-2-1-branch g ...
- From: roland at sourceware dot cygnus dot com
- Date: 3 Feb 2000 01:21:32 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sourceware.cygnus.com 00/02/02 17:21:32
Modified files:
sysdeps/mach/hurd: Tag: glibc-2-1-branch getsockopt.c
Log message:
2000-02-02 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/getsockopt.c (getsockopt): Fix inverted sense of
test: *OPTLEN gets BUFLEN iff BUFLEN is lesser. Move that test out of
BUF != OPTVAL condition, since it is a separate issue. Short-circuit
the memcpy and dealloc for BUFLEN==0.