This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]