BZ #13908 Fix mktemp attribute and comment
Mike Frysinger
vapier@gentoo.org
Thu Apr 5 01:15:00 GMT 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120405/e24ff361/attachment.sig>
More information about the Libc-alpha
mailing list