This is the mail archive of the libc-alpha@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]

Re: [PATCH] Remove socket.S implementation


Another (minor) issue: previously some socket.S implementations would use 
the NARGS value to set up only as many array elements as that particular 
socketcall operation needed.  This patch passes extra zero elements in so 
that every operation sets up six array elements whether or not needed.  
It should be possible to make the SOCKETCALL and SOCKETCALL_CANCEL macros 
variadic so they set up long int __args[] with only as many arguments as 
were passed (via some intermediate macros to deal with casting those 
arguments to long, I suppose).

-- 
Joseph S. Myers
joseph@codesourcery.com


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