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: New ARI warning Sun Jul 8 01:55:37 UTC 2012


> safe_strerror has the same problem for gdbserver.
> 
> As this is all in Linux-only and even i386-only code I find it both safe.
> glibc both accepts NULL for %s and produces "Unknown error 324234234" for
> invalid errno.  Also errno is there only the system produced one.
> I am not aware of non-glibc libcs behavior but it should not be problem.

If the uses are approved, can we mark them as such, so that they
disappear from the ARI? IIRC, the procedure for doing that is to add
/* ARI: <ARI rule - Eg strerror> */.

-- 
Joel


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