[Bug 4195] accept4() declared when not implemented in some conditions

bugzilla at busybox.net bugzilla at busybox.net
Sat Sep 17 15:10:56 UTC 2011


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

--- Comment #5 from Guillaume Emont <guijemont at igalia.com>  ---
Created attachment 3601
  --> https://bugs.busybox.net/attachment.cgi?id=3601
Make accept4() stub if accept4 syscall is not available even if socket APIs are
made available

This patch seems like a much cleaner fix, and it does work for me.

I suspect the other "!defined __UCLIBC_HAS_SOCKET__" occurences should be
removed as well: keeping them make the __NR_* conditions redundant (these are
undefined if __UCLIBC_HAS_SOCKET__ is not defined), and it does not look like
the right logic.

-- 
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