[PATCH] Remove socket.S implementation

Joseph Myers joseph@codesourcery.com
Thu May 21 16:14:00 GMT 2015


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



More information about the Libc-alpha mailing list