This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use mode_t in open and friends
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Rasmus Villemoes <rv at rasmusvillemoes dot dk>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 24 Apr 2014 14:30:21 +0200
- Subject: Re: [PATCH] Use mode_t in open and friends
- Authentication-results: sourceware.org; auth=none
- References: <87k3afhsua dot fsf at rasmusvillemoes dot dk>
Rasmus Villemoes <rv@rasmusvillemoes.dk> writes:
> The sole varargs argument to open and friends has type mode_t, not int.
Varargs use the promoted type, but mode_t traditionally has been
unsigned short.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."