On Tue, Apr 2, 2013 at 4:53 AM, Florian Weimer <fweimer@redhat.com> wrote:
On 03/29/2013 04:17 PM, kosaki.motohiro@gmail.com wrote:
/* Define some inlines helping to catch common problems. */
-#if __USE_FORTIFY_LEVEL > 0 && defined __GNUC__
+#if __USE_FORTIFY_LEVEL > 0 && defined __GNUC__ && _STRICT_FD_SIZE_CHECK
0
# include <bits/select2.h>
#endif
I think this is backwards. The default with _FORTIFY_SOURCE should be to
check, but having a way to disable the checks if needed might be helpful in
some cases. (Porting to poll/epoll/glib event loop is almost always
preferable, though.)
That breaks several applications and we can't take that.