Bug #17785: Unions by reference result in compile failure

From: Date: Sun, 16 Jun 2002 14:26:03 +0000
Subject: Bug #17785: Unions by reference result in compile failure
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10741@lists.php.net to get a copy of this message
From: msopacua@idg.nl Operating system: BSD/OS 4.2 PHP version: 4.0CVS-2002-06-16 PHP Bug Type: Semaphore related Bug description: Unions by reference result in compile failure /chroot/home/mdev/php4-200206160300/ext/sysvsem/sysvsem.c: In function `zif_sem_remove': /chroot/home/mdev/php4-200206160300/ext/sysvsem/sysvsem.c:382: incompatible type for argument 4 of `semctl' /chroot/home/mdev/php4-200206160300/ext/sysvsem/sysvsem.c:391: incompatible type for argument 4 of `semctl' The fix seems to be to replace &un by un in the corresponding lines. -- Edit bug report at http://bugs.php.net/?id=17785&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17785&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17785&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17785&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17785&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17785&r=support Expected behavior: http://bugs.php.net/fix.php?id=17785&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17785&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17785&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17785&r=globals

« previous php.bugs (#10741) next »