This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: [commit] Order parameters "rw", not "wr"


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


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