Hi,
> @@ -1216,7 +1216,7 @@
>
> p = php_stream_mmap_range(src, php_stream_tell(src),
> maxlen, PHP_STREAM_MAP_MODE_SHARED_READONLY, &mapped);
>
> - if (p) {
> + if (p && mapped) {
> *buf = pemalloc_rel_orig(mapped + 1, persistent);
>
Ilia Alshanetsky wrote:
On my 2 32 bit machines the compiler complains about int being used
where a non-int or a long value is returned. Changing it to long fixes
the problem, this is replicated on gcc 3.4 and 4.0.1
Ok, well... this seems to differ for me on i686
(__SIZE_TYPE__ is unsigned in
andrei Wed Jun 21 20:17:21 2006 UTC
Modified files:
/ZendEngine2zend_constants.c zend_unicode.c zend_unicode.h
/php-src/ext/unicodeunicode.c
/php-src/main/streams filter.c streams.c
Log:
Implement user conversion error handler suppo
Stefan Esser wrote:
Hi, I don't know what you're running but here size_t is unsigned int.
It's probably unsigned long on 64bit boxen, so what's this fix about?
The question is: what are you running? size_t usually is unsigned long.
[EMAIL PROTECTED]:~/devel/testimonials$ cat printf.c
#include
andrei Wed Jun 21 17:10:13 2006 UTC
Modified files:
/php-src/main/streams streams.c
Log:
Typos.
http://cvs.php.net/viewvc.cgi/php-src/main/streams/streams.c?r1=1.125&r2=1.126&diff_format=u
Index: php-src/main/streams/streams.c
diff -u php-src/main/stre
On my 2 32 bit machines the compiler complains about int being used
where a non-int or a long value is returned. Changing it to long
fixes the problem, this is replicated on gcc 3.4 and 4.0.1
On 21-Jun-06, at 12:08 PM, Michael Wallner wrote:
Ilia Alshanetsky wrote:
iliaa Wed Jun
> Hi, I don't know what you're running but here size_t is unsigned int.
> It's probably unsigned long on 64bit boxen, so what's this fix about?
The question is: what are you running? size_t usually is unsigned long.
Stefan
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Ilia Alshanetsky wrote:
iliaa Wed Jun 21 15:19:24 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/bz2 bz2_filter.c
Log:
Fixed compiler warnings.
http://cvs.php.net/viewvc.cgi/php-src/ext/bz2/bz2_filter.c?r1=1.3.2.2&r2=1.3.2.2.2.1&diff_format=u
In
iliaa Wed Jun 21 15:19:37 2006 UTC
Modified files:
/php-src/ext/bz2bz2_filter.c
Log:
MFB: Fixed compiler warnings.
http://cvs.php.net/viewvc.cgi/php-src/ext/bz2/bz2_filter.c?r1=1.7&r2=1.8&diff_format=u
Index: php-src/ext/bz2/bz2_filter.c
diff -u php-src
iliaa Wed Jun 21 15:19:24 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/bz2bz2_filter.c
Log:
Fixed compiler warnings.
http://cvs.php.net/viewvc.cgi/php-src/ext/bz2/bz2_filter.c?r1=1.3.2.2&r2=1.3.2.2.2.1&diff_format=u
Index: php-src/ext/bz2/bz2_
tony2001Wed Jun 21 14:38:28 2006 UTC
Added files: (Branch: PHP_5_2)
/php-src/ext/bz2/tests 001.phpt 002.phpt
Modified files:
/php-src/ext/bz2bz2.c
Log:
MFH: improve check for stream mode, add tests
http://cvs.php.net/v
tony2001Wed Jun 21 14:38:06 2006 UTC
Added files:
/php-src/ext/bz2/tests 001.phpt 002.phpt
Modified files:
/php-src/ext/bz2bz2.c
Log:
improve check for stream mode, add tests
http://cvs.php.net/viewvc.cgi/php-src/ext/
tony2001Wed Jun 21 13:12:37 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/bz2bz2.c
Log:
MFH: don't try to read or write from/to a stream if it was open in different
mode (leads to segfault in libbz2)
http://cvs.php.net/viewvc.cgi/php-src
tony2001Wed Jun 21 13:12:00 2006 UTC
Modified files:
/php-src/ext/bz2bz2.c
Log:
don't try to read or write from/to a stream if it was open in different mode
(leads to segfault in libbz2)
http://cvs.php.net/viewvc.cgi/php-src/ext/bz2/bz2.c?r1=1.21
tony2001Wed Jun 21 12:43:27 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/bz2bz2.c
Log:
MFH: fix invalid read with bzopen("","") and prevent filename from being
empty (which causes endless loop somewhere is libbz2)
http://cvs.php.net/vie
tony2001Wed Jun 21 12:42:50 2006 UTC
Modified files:
/php-src/ext/bz2bz2.c
Log:
fix invalid read with bzopen("","") and prevent filename from being empty
(which causes endless loop somewhere is libbz2)
tests will follow
http://cvs.php.net/viewv
16 matches
Mail list logo