This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Marking of functions with attributes like __wur


I'm not sure the "security problem or always bug" predicate is really the
appropriate one.  Warnings exist to help programmers.  So "more likely to
be unintended than intended" might be a reasonable predicate.  OTOH, __wur
doesn't make it easy to suppress the warning explicitly with something like
a (void) cast, which IMHO would be more reasonable behavior.

Certainly strtoll and strtoimax should be completely consistent in all
aspects of their APIs aside from the actual integer type used.


Thanks,
Roland


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