[commit] Order parameters "rw", not "wr"

Daniel Jacobowitz drow@mvista.com
Thu Nov 13 15:40:00 GMT 2003


On Thu, Nov 13, 2003 at 10:27:36AM -0500, Andrew Cagney wrote:
> >On Mon, Nov 10, 2003 at 04:20:13PM -0500, Andrew Cagney wrote:
> >
> >>The attached patch re-orders the xfer_partial interface so its 
> >>read/write buffers are ordered read/write (i.e., sanely).
> >
> >
> >Eh??  The entire standard C library uses write/read.  I don't
> >see what's so unusual or non-canonical about it...
> 
> O_RDWR Open for reading and writing
> S_IRWXU 00700 user (file owner) has read, write and execute permission
> drwxr-xr-x    2 cagney   cagney       8192 Nov 11 13:52 bin

Those aren't arguments, just a couple occurances of "read, write", so I
fail to see the connection.  Consider memcpy, strcat, fgets, sprintf. 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list