|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-03 22:36 UTC] sniper@php.net
[2005-03-04 14:14 UTC] d dot tonhofer at m-plify dot com
[2005-03-04 16:33 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 15:00:01 2025 UTC |
Description: ------------ When compiling 4.3.10 on 64-bit Intel architecture, we get: /usr/local/tarballs/php-4.3.10/ext/standard/exec.c: In function `proc_open_rsrc_dtor': /usr/local/tarballs/php-4.3.10/ext/standard/exec.c:611: warning: cast from pointer to integer of different size i.e.: static void proc_open_rsrc_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC) { #ifdef PHP_WIN32 HANDLE child; DWORD wstatus; child = (HANDLE)rsrc->ptr; WaitForSingleObject(child, INFINITE); GetExitCodeProcess(child, &wstatus); FG(pclose_ret) = wstatus; CloseHandle(child); #else # if HAVE_SYS_WAIT_H int wstatus; pid_t child, wait_pid; child = (pid_t)rsrc->ptr; <--------- HERE do { wait_pid = waitpid(child, &wstatus, 0); } while (wait_pid == -1 && errno == EINTR); if (wait_pid == -1) FG(pclose_ret) = -1; else { if (WIFEXITED(wstatus)) wstatus = WEXITSTATUS(wstatus); FG(pclose_ret) = wstatus; } .... Probably nothing, and probably related to http://bugs.php.net/bug.php?id=26769.