Bug #62708 [NEW]: fpm_sockets.[ch] uses reserved word, "sun"

From: Date: Tue, 31 Jul 2012 19:22:01 +0000
Subject: Bug #62708 [NEW]: fpm_sockets.[ch] uses reserved word, "sun"
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-172356@lists.php.net to get a copy of this message
From: wongk at apt dot homeunix dot net Operating system: Solaris PHP version: 5.3.15 Package: Compile Failure Bug Type: Bug Bug description:fpm_sockets.[ch] uses reserved word, "sun" Description: ------------ Solaris has the reserved word, "sun", which is used in sapi/fpm/fpm/fpm_sockets.h and sapi/fpm/fpm/fpm_sockets.c Replacing those instances of "sun" with "s_un" results in a successful compile. Test script: --------------- cd /opt/pkgsrc/www/php-fpm; bmake Expected result: ---------------- The compilation should succeed. Actual result: -------------- Building via pkgsrc on SmartOS: In file included from /tmp/pkgsrc/www/php-fpm/work/php- 5.3.15/sapi/fpm/fpm/fpm_sockets.c:25:0: /tmp/pkgsrc/www/php-fpm/work/php-5.3.15/sapi/fpm/fpm/fpm_sockets.h:28:54: error: expected ';', ',' or ')' before numeric constant # uname -a SunOS pkgsrc.apt.homeunix.net 5.11 joyent_20120726T184637Z i86pc i386 i86pc Solaris -- Edit bug report at https://bugs.php.net/bug.php?id=62708&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62708&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62708&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62708&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62708&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62708&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62708&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62708&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62708&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62708&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62708&r=support Expected behavior: https://bugs.php.net/fix.php?id=62708&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62708&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62708&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62708&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62708&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62708&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62708&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62708&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62708&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62708&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62708&r=mysqlcfg

« previous php.bugs (#172356) next »