[Bug network/19936] recvmmsg / sendmmsg flags should be unsigned int rather than int

adhemerval.zanella at linaro dot org sourceware-bugzilla@sourceware.org
Mon May 30 17:50:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=19936

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg

--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
I am not sure if we should blindly follow Linux interface in this case.  All
the POSIX defined socket operations that accepts a flag as argument defines it
as 'int' (recv, recvfrom, recvmsg, send, sendmsg, sendto).

In the case we decide to change it I am not sure if we can just simply change
both the prototype and implementation or if we should provide a compatibility
symbol.  My first assumption is it would be possible to just change, since
there is no manipulation inside implementation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list