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] |
On 12 Aug 2015 09:38, Daniel MarjamÃki wrote: > Imho the __wur attribute should not be used on printf/scanf functions. > > It is not insane to ignore the return value from these. these functions will perform the wanted I/O even though the return value is not used. you're confusing asprintf as a benign printf. it is insane to not be checking the return value of that function. it does memory allocation among other things. as for the scanf family, see BZ #14254 and the thread from last time where we rejected this proposal: https://sourceware.org/bugzilla/show_bug.cgi?id=14254 https://sourceware.org/ml/libc-alpha/2013-10/msg00290.html -mike
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |