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: BZ #13908 Fix mktemp attribute and comment


On Wednesday 04 April 2012 11:58:59 Carlos O'Donell wrote:
> On Wed, Apr 4, 2012 at 4:41 AM, Andreas Jaeger <aj@suse.com> wrote:
> > mktemp always returns TEMPLATE, the caller should check TEMPLATE[0]
> > instead of TEMPLATE, so do not warn about the unused result.
> > Fix also the comment for mktemp
> > 
> > Ok to commit?
> > Andreas
> > 
> > 2012-04-04  Andreas Jaeger  <aj@suse.de>
> > 
> >        [BZ #13908]
> >        * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
> >        comment.
> 
> Could you explain a little bit more please?
> 
> Is there some common idiom that is used by developers which triggers a
> warning when it shouldn't?

http://sourceware.org/ml/libc-help/2012-03/msg00027.html
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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