Re: [PHP-CVS] cvs: php-src /ext/bz2 bz2.c bz2_filter.c /ext/bz2/tests 001.phpt /ext/calendar calendar.c /ext/calendar/tests cal_info.phpt /ext/curl interface.c /ext/date php_date.c /ext/date/tes

2006-10-09 Thread Andrei Zmievski
Oh Lord, did we really need to touch almost every file to remove a 
bloody period from error messages?


-Andrei

On Oct 8, 2006, at 6:34 AM, Hannes Magnusson wrote:


bjori   Sun Oct  8 13:34:25 2006 UTC

  Modified files:
/php-src/ext/bz2bz2.c bz2_filter.c
/php-src/ext/bz2/tests  001.phpt
/php-src/ext/calendar   calendar.c
/php-src/ext/calendar/tests cal_info.phpt
/php-src/ext/curl   interface.c
/php-src/ext/date   php_date.c
/php-src/ext/date/tests 005.phpt
/php-src/ext/dbase  dbf_rec.c
/php-src/ext/domdocument.c node.c
/php-src/ext/fbsql  php_fbsql.c
/php-src/ext/ftpftp.c php_ftp.c
/php-src/ext/iconv  iconv.c
/php-src/ext/imap   php_imap.c
/php-src/ext/ldap   ldap.c
/php-src/ext/mbstring   mbstring.c
/php-src/ext/mcrypt mcrypt.c
/php-src/ext/mcrypt/tests   bug35496.phpt
/php-src/ext/mime_magic mime_magic.c
/php-src/ext/mysql  php_mysql.c
/php-src/ext/mysqli mysqli_api.c
/php-src/ext/oci8   oci8_lob.c
/php-src/ext/opensslopenssl.c
/php-src/ext/pcre   php_pcre.c
/php-src/ext/pcre/tests preg_replace2.phpt
/php-src/ext/pdopdo_dbh.c
/php-src/ext/pspell pspell.c
/php-src/ext/pspell/tests   003.phpt 005.phpt
/php-src/ext/recode recode.c
/php-src/ext/sessionsession.c
/php-src/ext/session/tests  014.phpt
/php-src/ext/soap   soap.c
/php-src/ext/soap/tests/bugsbug31755.phpt
/php-src/ext/socketssockets.c
/php-src/ext/sqlite sqlite.c
/php-src/ext/standard   array.c basic_functions.c browscap.c dl.c
exec.c file.c filters.c http.c
http_fopen_wrapper.c image.c streamsfuncs.c
string.c uniqid.c url.c uuencode.c var.c
/php-src/ext/sybase php_sybase_db.c
/php-src/ext/sybase_ct  php_sybase_ct.c
/php-src/ext/sysvmsgsysvmsg.c
/php-src/ext/tidy   tidy.c
/php-src/ext/wddx   wddx.c
/php-src/ext/xmlxml.c
/php-src/ext/xmlreader  php_xmlreader.c
/php-src/ext/xslxsltprocessor.c
/php-src/ext/zlib   zlib_filter.c
/php-src/main/streams   filter.c streams.c unicode_filter.c
userspace.c
  Log:
  Error message clean up
  (patch by Matt W (php_lists -AT- realpain.com))

bjori-20061008133425.txt--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] cvs: php-src /ext/bz2 bz2.c bz2_filter.c /ext/bz2/tests 001.phpt /ext/calendar calendar.c /ext/calendar/tests cal_info.phpt /ext/curl interface.c /ext/date php_date.c /ext/date/tests 005

2006-10-09 Thread Hannes Magnusson

On 10/9/06, Andrei Zmievski [EMAIL PROTECTED] wrote:

Oh Lord, did we really need to touch almost every file to remove a
bloody period from error messages?


I'll gladly revert if it helps you in any way...

-Hannes



On Oct 8, 2006, at 6:34 AM, Hannes Magnusson wrote:

 bjori Sun Oct  8 13:34:25 2006 UTC

   Modified files:
 /php-src/ext/bz2  bz2.c bz2_filter.c
 /php-src/ext/bz2/tests001.phpt
 /php-src/ext/calendar calendar.c
 /php-src/ext/calendar/tests   cal_info.phpt
 /php-src/ext/curl interface.c
 /php-src/ext/date php_date.c
 /php-src/ext/date/tests   005.phpt
 /php-src/ext/dbasedbf_rec.c
 /php-src/ext/dom  document.c node.c
 /php-src/ext/fbsqlphp_fbsql.c
 /php-src/ext/ftp  ftp.c php_ftp.c
 /php-src/ext/iconviconv.c
 /php-src/ext/imap php_imap.c
 /php-src/ext/ldap ldap.c
 /php-src/ext/mbstring mbstring.c
 /php-src/ext/mcrypt   mcrypt.c
 /php-src/ext/mcrypt/tests bug35496.phpt
 /php-src/ext/mime_magic   mime_magic.c
 /php-src/ext/mysqlphp_mysql.c
 /php-src/ext/mysqli   mysqli_api.c
 /php-src/ext/oci8 oci8_lob.c
 /php-src/ext/openssl  openssl.c
 /php-src/ext/pcre php_pcre.c
 /php-src/ext/pcre/tests   preg_replace2.phpt
 /php-src/ext/pdo  pdo_dbh.c
 /php-src/ext/pspell   pspell.c
 /php-src/ext/pspell/tests 003.phpt 005.phpt
 /php-src/ext/recode   recode.c
 /php-src/ext/session  session.c
 /php-src/ext/session/tests014.phpt
 /php-src/ext/soap soap.c
 /php-src/ext/soap/tests/bugs  bug31755.phpt
 /php-src/ext/sockets  sockets.c
 /php-src/ext/sqlite   sqlite.c
 /php-src/ext/standard array.c basic_functions.c browscap.c dl.c
   exec.c file.c filters.c http.c
   http_fopen_wrapper.c image.c streamsfuncs.c
   string.c uniqid.c url.c uuencode.c var.c
 /php-src/ext/sybase   php_sybase_db.c
 /php-src/ext/sybase_ctphp_sybase_ct.c
 /php-src/ext/sysvmsg  sysvmsg.c
 /php-src/ext/tidy tidy.c
 /php-src/ext/wddx wddx.c
 /php-src/ext/xml  xml.c
 /php-src/ext/xmlreaderphp_xmlreader.c
 /php-src/ext/xsl  xsltprocessor.c
 /php-src/ext/zlib zlib_filter.c
 /php-src/main/streams filter.c streams.c unicode_filter.c
   userspace.c
   Log:
   Error message clean up
   (patch by Matt W (php_lists -AT- realpain.com))

 bjori-20061008133425.txt--
 PHP CVS Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] cvs: php-src /ext/bz2 bz2.c

2005-06-10 Thread Ilia Alshanetsky

Stefan Esser wrote:

Hi Ilia,

it is me again


-size = (bzs.total_out_hi32  32) + bzs.total_out_lo32;
+size = (bzs.total_out_hi32 * (unsigned int) -1) + 
bzs.total_out_lo32;



while this maybe silence the compiler I do not see how this can be 
mathematically the same ;)


Stefan



That's actually the correct implementation of the code... bz2 works by 
setting hi32 + 1 when lo32 overflows. So 1 in hi32 == INT_MAX, which 
means total size is hi32 * INT_MAX + lo32. The documentation claimed it 
was hi32  32, but that's not really the case.


Ilia

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] cvs: php-src /ext/bz2 bz2.c

2005-06-09 Thread Stefan Esser

Hi Ilia,

it is me again


-   size = (bzs.total_out_hi32  32) + bzs.total_out_lo32;
+   size = (bzs.total_out_hi32 * (unsigned int) -1) + 
bzs.total_out_lo32;


while this maybe silence the compiler I do not see how this can be 
mathematically the same ;)


Stefan

--
--
 Stefan Esser   [EMAIL PROTECTED]
 Hardened-PHP Project http://www.hardened-php.net/

 GPG-Keygpg --keyserver pgp.mit.edu --recv-key 0x15ABDA78
 Key fingerprint   7806 58C8 CFA8 CE4A 1C2C  57DD 4AE1 795E 15AB DA78
--

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php