[PATCH v4] Make bindresvport() function to multithread-safe

Andreas Schwab schwab@linux-m68k.org
Fri Sep 28 15:48:00 GMT 2012


Peng Haitao <penght@cn.fujitsu.com> writes:

> +#ifdef __linux__

Don't use ifdef, instead put an overriding file under
sysdeps/unix/sysv/linux.

> +#define get_port()                            \

Make that an inline function instead of a macro.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-alpha mailing list