[PATCH v2] Handle possible vararg promotion of mode_t in open and friends
Mike Frysinger
vapier@gentoo.org
Sun Aug 3 13:27:00 GMT 2014
On Sun 03 Aug 2014 14:25:12 Rasmus Villemoes wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> > On Tue 20 May 2014 00:21:50 Rasmus Villemoes wrote:
> >> + mode = va_arg (ap, __typeof__(+(mode_t)0));
> >
> > seems like this should be a define in a private header rather than copy &
> > pasted in every call site
>
> Good idea. I'm not too familiar with glibc's internal organization; in
> particular, I don't know which headers are private and which are
> not. Could you suggest a specific header file to put this in?
i think include/fcntl.h would be best
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140803/66049bb1/attachment.sig>
More information about the Libc-alpha
mailing list