This is the mail archive of the gdb@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: Small remote file transfer protocol adition


On Tue, Jan 29, 2008 at 05:51:58PM +0000, Pedro Alves wrote:
> Well, since you ask :-)  I'd prefer my first suggestion, just
> because it's simpler.  No worries about buffer size
> limits, and the message being truncated.  If passing a message,
> I'd have to be careful with what I'd say there, so it
> doesn't confuse the user (strerror says one thing, native
> error says something similar but not the same, possibly in
> different locales).  This probably means I'd just pass the error
> number anyway.

Yes, I see.  I'm convinced.

-- 
Daniel Jacobowitz
CodeSourcery


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