Re: Bug #12842 Updated: TSRM/tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int'

From: Date: Thu, 23 Aug 2001 06:41:47 +0000
Subject: Re: Bug #12842 Updated: TSRM/tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int'
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64131@lists.php.net to get a copy of this message
On 22 Aug 2001 sniper@php.net wrote: > reproduced by unix-guy@pacbell.net (bug report #11761. > tsrm_virtual_cwd.c:568: mode_t' is promoted to int' > when passed through `...' > tsrm_virtual_cwd.c:568: (so you should pass int' not Èêáî<-¿ÉÖìá > ¾mode_t' to `va_arg') See: a recently updated stdarg(3) manual page: http://www.openbsd.org/cgi-bin/man.cgi?query=stdarg&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html discussion on the gcc list on the matter: http://gcc.gnu.org/ml/gcc-patches/1999-09/msg00221.html The same problem was iirc present on OpenBSD. Problem is that mode_t is a primitive system data type that may be defined as a short or an int (in theory I think that POSIX even allows a float), depending on the system; same goes for other such data types, of course. Unfortunately, I do not have edit access for the bug so I have to send this to the list directly. Sorry.

« previous php.dev (#64131) next »