This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] Introduce new shared function remote_fileio_to_fio_error


Pedro Alves wrote:
> On 04/09/2015 10:51 AM, Gary Benson wrote:
> > This commit introduces a new shared function to replace three
> > identical functions in various places in the codebase.
> > 
> > Ok to commit?
> 
> This is OK, but I think the "remote" in the name is really wrong.
> This is converting a _host_ errno to a fileio error.  I think the
> function name should reflect that, and not mention remote at all.

Yeah, I kind of thought this when I was writing the patch, but I was
also thinking about other things :)

I'm happy to make another patch to rename common-remote-fileio.*
to common-fileio.* and rename the functions accordingly.

Should I push this one first and then make a second, or would you
like the rename first and an updated version of this patch second?
I'd prefer the former (less work for me!) but I can do the latter
if you want it that way.

Cheers,
Gary

-- 
http://gbenson.net/


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