Entries tagged as binary
|
September '10 | |||||
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||
5.2.0
5.2.7
antispam
apache2
bavaria
binary
cartoon
cgi
conference
Dotclear
dotclear2
fastcgi
feed
filter
filters
GD
google
graphics
htaccess
htscanner
iis
innotek
internals
ipc
ISP
libGD
lighttpd
munich
Mysql
PEAR
PECL
PHP
PHP-core
php 5.2.7
png
qa
release
security
Sun
symfony
testfest
tutorial
virtualbox
virtualization
visual-C
win32
windows
wtf
zip
ziparchive
Posted by Pierre in
Uncategorized
Friday, December 1. 2006
Posted by Pierre in
PHP
Tuesday, November 28. 2006
This release is mostly for windows users using other SAPI than CLI or (F)CGI. The bug is fixed in CVS already but I was lacking the time to release it. Pecl4win providing snapshots, it is half of a problem ![]()
The issue is actually a windows bug. No matter if I give or not the "b" flag to fopen, the write operations are not binary safe. It seems to be a known issue as many projects use the same trick:
_setmode(_fileno(tfp), _O_BINARY );
PHP is forcing the binary mode in SAPI and CLI, that’s why the problem was not that easy to reproduce (apache or IIS debuggin on windows was not really my cup of tea
.
I was trying to find some reference or bug reports about this issue but without much success, so far only people complaining about windows broken fopen. If anyone has detailed informations about this issue, please let me know.