This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit] Order parameters "rw", not "wr"
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Andrew Cagney <ac131313 at redhat dot com>,gdb-patches at sources dot redhat dot com, "J. Johnston" <jjohnstn at redhat dot com>
- Date: Thu, 13 Nov 2003 10:27:36 -0500
- Subject: Re: [commit] Order parameters "rw", not "wr"
- References: <3FB0010D.7040108@redhat.com> <20031112021817.GA27225@redhat.com>
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
Andrew