[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c
Derick Rethans wrote: > AFAIK you also need to put this in front of the definitions in the .h > files or otherwise windows won't understand it correctly. Fixed now, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] [REPOST] TSRM.c MFH Request
I know MFHing memory leaks isn't anywhere near as exciting as arguing about the fine points of CSV file processing, but can someone with enough karma please take a minute to look at my request? Thanks. > Date: Sun, 7 Dec 2003 19:17:06 -0800 (PST) > From: Michael Sisolak <[EMAIL PROTECTED]> > Subject: TSRM.c MFH Request > To: [EMAIL PROTECTED] > > Can someone with proper karma please MFH the change in TSRM.c version > 1.50 - it never made it back into the 4_3 branch. It cleans up a > memory leak of the mutexp variable under Win32 threading. Thanks. > > Michael Sisolak > [EMAIL PROTECTED] __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [REPOST] TSRM.c MFH Request
On December 16, 2003 02:51 pm, Michael Sisolak wrote: > I know MFHing memory leaks isn't anywhere near as exciting as arguing > about the fine points of CSV file processing, but can someone with > enough karma please take a minute to look at my request? Thanks. This was already done by Jani on Dec 15th. Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [REPOST] TSRM.c MFH Request
On Tue, 16 Dec 2003, Michael Sisolak wrote: > I know MFHing memory leaks isn't anywhere near as exciting as arguing > about the fine points of CSV file processing, but can someone with > enough karma please take a minute to look at my request? Thanks. Done, thanks for bringing this under our attention again. Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [REPOST] TSRM.c MFH Request
On Tue, 16 Dec 2003, Ilia Alshanetsky wrote: > On December 16, 2003 02:51 pm, Michael Sisolak wrote: > > I know MFHing memory leaks isn't anywhere near as exciting as arguing > > about the fine points of CSV file processing, but can someone with > > enough karma please take a minute to look at my request? Thanks. > > This was already done by Jani on Dec 15th. That was something else... Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PATCH] libxmlrpc warning fixes
Committed with some missing ctype.h includes. --Jani On Mon, 27 Oct 2003, Joe Orton wrote: >Hi, this patch fixes compiler warnings in the version of libxmlrpc >included in the PHP 4.3 branch. (unspecified return value, format >string bugs, missing includes, unused function/variables) > >Index: ext/xmlrpc/libxmlrpc/simplestring.c >=== >RCS file: /repository/php-src/ext/xmlrpc/libxmlrpc/simplestring.c,v >retrieving revision 1.3 >diff -u -r1.3 simplestring.c >--- ext/xmlrpc/libxmlrpc/simplestring.c22 Aug 2002 01:25:50 - 1.3 >+++ ext/xmlrpc/libxmlrpc/simplestring.c27 Oct 2003 12:27:21 - >@@ -79,6 +79,7 @@ > **/ > > #include >+#include > #include "simplestring.h" > > #define my_free(thing) if(thing) {free(thing); thing = 0;} >Index: ext/xmlrpc/libxmlrpc/xml_element.c >=== >RCS file: /repository/php-src/ext/xmlrpc/libxmlrpc/xml_element.c,v >retrieving revision 1.3.4.1 >diff -u -r1.3.4.1 xml_element.c >--- ext/xmlrpc/libxmlrpc/xml_element.c 27 Nov 2002 04:07:00 - 1.3.4.1 >+++ ext/xmlrpc/libxmlrpc/xml_element.c 27 Oct 2003 12:27:21 - >@@ -471,18 +471,20 @@ > } > > /* print buf to file */ >-static file_out_fptr(void *f, const char *text, int size) >+static int file_out_fptr(void *f, const char *text, int size) > { >fputs(text, (FILE *)f); >+ return 0; > } > > /* print buf to simplestring */ >-static simplestring_out_fptr(void *f, const char *text, int size) >+static int simplestring_out_fptr(void *f, const char *text, int size) > { >simplestring* buf = (simplestring*)f; >if(buf) { > simplestring_addn(buf, text, size); >} >+ return 0; > } > > /f* xml_element/xml_elem_serialize_to_string >@@ -696,7 +698,7 @@ > if(byte_idx >= 0) { > snprintf(buf, > sizeof(buf), >- "\n\tdata beginning %i before byte index: %s\n", >+ "\n\tdata beginning %ld before byte index: %s\n", > byte_idx > 10 ? 10 : byte_idx, > in_buf + (byte_idx > 10 ? byte_idx - 10 : byte_idx)); > } >@@ -705,7 +707,7 @@ > "\tdescription: %s\n" > "\tline: %i\n" > "\tcolumn: %i\n" >-"\tbyte index: %i\n" >+"\tbyte index: %ld\n" > "\ttotal bytes: %i\n%s ", > err_code, error_str, line_num, > col_num, byte_idx, byte_total, buf); >Index: ext/xmlrpc/libxmlrpc/xmlrpc.c >=== >RCS file: /repository/php-src/ext/xmlrpc/libxmlrpc/xmlrpc.c,v >retrieving revision 1.4 >diff -u -r1.4 xmlrpc.c >--- ext/xmlrpc/libxmlrpc/xmlrpc.c 5 Jul 2002 04:43:53 - 1.4 >+++ ext/xmlrpc/libxmlrpc/xmlrpc.c 27 Oct 2003 12:27:22 - >@@ -122,6 +122,7 @@ > #include > #include > #include >+#include > > #include "queue.h" > #include "xmlrpc.h" >@@ -704,7 +705,7 @@ > XMLRPC_ERROR_CODE code; > char buf[1024]; > snprintf(buf, sizeof(buf), >- "error occurred at line %i, column %i, byte index %i", >+ "error occurred at line %ld, column %ld, byte index %ld", >error->line, error->column, > error->byte_index); > > /* expat specific errors */ >@@ -815,13 +816,6 @@ >return v; > } > >-static const char* get_string(const char* buf, int bDup) { >- if(bDup) { >- return strdup(buf); >- } >- return buf; >-} >- > /***/ > > /f* VALUE/XMLRPC_SetValueID_Case >@@ -1047,8 +1041,6 @@ > >val = XMLRPC_CreateValueEmpty(); >if(val) { >- XMLRPC_VECTOR *pSIV = NULL; >- > if(XMLRPC_SetIsVector(val, type)) { > if(id) { > const char *pSVI = NULL; >@@ -1609,6 +1601,8 @@ > } > } > break; >+ default: >+ break; > } > } > return xReturn; >@@ -2447,6 +2441,7 @@ > return "struct"; > } > } >+return "unknown"; > } > > /f* VALUE/XMLRPC_ServerFindMethod >Index: ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c >=== >RCS file: /repository/php-src/ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c,v >retrieving revision 1.3 >diff -u -r1.3 xmlrpc_introspection.c >--- ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c5 Jul 2002 04:43:53 - > 1.3 >+++ ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c27 Oct 2003 12:27:22 - >@@ -346,7 +346,7 @@ > const char* ptype = !strcmp(el->name, "value") ? type : basetype; > if(ptype) { > if(Q_Size(&el->children) && >- !strcmp(ptype, "array") || !strcmp(ptype, "struct") || !strcmp(ptype, >"m
[PHP-DEV] Beta 3
Hey guys, A couple of weeks too late, but I'd like to roll Beta 3 tomorrow. The crucial bug we wanted fixing (the return reference problem) was fixed. Other little things can be fixed during the code freeze after B3 whilst getting ready for RC1. Andi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] New win32 build system
Hi Folks: FINALLY heard back from Microsoft... On Tue, Dec 02, 2003 at 08:19:56PM -0500, Daniel Convissor wrote: > http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm > which looks pretty promising since it's titled "Full Download with Local > Install." Alas, no links to actually get the file. Here are the links: http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.1.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.2.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.3.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.4.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.5.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.6.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.7.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.8.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.9.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.10.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.11.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.12.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.13.cab http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.bat http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/Extract.exe Download them all then run PSDK-FULL.bat That will extract the files. Then you need to go to that dir and run setup.exe. Enjoy, --Dan -- FREE scripts that make web and database programming easier http://www.analysisandsolutions.com/software/ T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7th Ave #4AJ, Brooklyn NYv: 718-854-0335 f: 718-854-0409 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php