[Bug 3877] accept4 included unconditionally

bugzilla at busybox.net bugzilla at busybox.net
Thu Mar 29 04:34:51 UTC 2012


https://bugs.busybox.net/show_bug.cgi?id=3877

--- Comment #4 from Michael Deutschmann <michael at talamasca.ocis.net> 2012-03-29 04:34:51 UTC ---
Whoops.  I meant to add my "#ifdef __ASSUME_ACCEPT4" above the "#ifdef
__NR_accept4", not below.  It was pretty much a fluke that the patch worked for
me (compiled OK and with no accept4 visible to nm).

Your way works too, though.  I've altered my patch to just add the #include and
change the #elif line as you recommend, and the resulting code is byte for byte
identical.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list