Commit Graph

519 Commits

Author SHA1 Message Date
Felipe Pena
4fd6a040b9 - Added zval separation (avoid crash when using fwrite($fp, $fp)). 2008-05-28 17:24:47 +00:00
Etienne Kneuss
5f4e5fa60a Fix protos 2008-05-04 21:16:22 +00:00
Ilia Alshanetsky
e831c158c8 Revert unintended bits from "Added a warning message" commit 2008-03-31 22:44:38 +00:00
Felipe Pena
2fba4f5e61 - Fix build 2008-03-30 15:31:33 +00:00
Ilia Alshanetsky
c22a23ccd5 MFB: Added a warning message 2008-03-30 15:06:07 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Felipe Pena
997b877aa4 Removed internal warning 2008-02-24 11:49:39 +00:00
Marcus Boerger
6b58678c63 - Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus) 2008-02-23 17:03:53 +00:00
Stanislav Malyshev
846cb3d56e fix build 2008-02-12 01:30:58 +00:00
Felipe Pena
9d229c7f7c Fixed Bug #42229 (fgetcsv() behaves differently for a file containing '\n' with php5 and php6) 2008-02-10 04:09:12 +00:00
Felipe Pena
c1bdb769a0 Fixed Bug #42163 (fgetcsv() gives different output with and without Unicode) 2008-02-10 02:13:37 +00:00
Felipe Pena
a4363b1f7f Fixed bugs:
- #42036	fgetc() sets end of the file flag when reading on write only file
- #42037	fgetc() retuns one char when fails to read on php6
2008-02-09 19:46:49 +00:00
Felipe Pena
b50f869aac Fixed bug #42167 (fgetcsv gives different output on php6 compared to php5), #42219 (length argument of fgetcsv() is not effective/working in PHP6) 2008-02-06 02:56:49 +00:00
Felipe Pena
9df576bed3 Fixed wrong fix 2008-02-04 19:48:14 +00:00
Felipe Pena
aa79b70645 Fixed Bug #42057 (fwrite() writes data into file when length is given as a negative value) 2008-02-04 18:45:40 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Jani Taskinen
d3b3149dbe ws + cs 2007-11-05 15:24:25 +00:00
Antony Dovgal
6549f5b422 fix ws and avoid freeing integer vars 2007-10-06 21:15:46 +00:00
David Soria Parra
ab38cc8d89 - Add an escape parameter to fgetcsv to satisfy rfc4180 and bug #40501. 2007-10-03 10:31:04 +00:00
Ilia Alshanetsky
4ed9af35cd MFB: Fixed possible buffer overflows inside the fnmatch() and glob()
functions
2007-09-05 12:55:36 +00:00
Jani Taskinen
ea2d704953 MFB: Fixed bug #42468 (Write lock on file_get_contents fails when using a compression stream) 2007-09-03 11:53:43 +00:00
Jani Taskinen
bdd54e7c9b MFB: Fix tests + directory check inside copy() function 2007-08-13 08:14:03 +00:00
Rui Hirokawa
424d842729 MF PHP_5_2 2007-08-12 02:00:03 +00:00
Antony Dovgal
edd76024a3 MFB: Fixed bug #42243 (copy() does not ouput an error when the first arg is a dir) 2007-08-10 08:58:12 +00:00
Antony Dovgal
b608bd654d fix ws, cs & folding 2007-07-14 08:38:20 +00:00
Dmitry Stogov
5e4fde527b Fixed fgets() and fgetss() with limits 2007-07-10 17:02:43 +00:00
foobar
f730ecf98c - Fixed bug #41865 (fputcsv(): 2nd parameter is not optional) 2007-07-01 21:26:30 +00:00
Pierre Joye
a06fbeebc5 - #41609, file_put_contents is not binary safe when a binary string is
given (make it consistent with fwrite&co when unicode=1)
2007-06-14 19:56:35 +00:00
Antony Dovgal
f90bb0e967 check length only when it's specified
add the same check to fgetss()
2007-05-30 09:16:29 +00:00
Antony Dovgal
7b5215d83a fix #41516 (fgets() returns a line of text when length parameter is <= 0) 2007-05-29 20:48:38 +00:00
Antony Dovgal
5b56ff03b4 fix leak and check for < 0 only of the 5th arg was passed 2007-05-18 20:34:07 +00:00
Antony Dovgal
eb2240d494 fix #41430 (Fatal error with negative values of maxlen parameter of file_get_contents()) 2007-05-18 12:05:55 +00:00
Dmitry Stogov
2908322c14 WIN64 support 2007-04-16 09:43:53 +00:00
Marcus Boerger
2b5f0d87b7 - Fix realpath() logic 2007-03-03 19:07:51 +00:00
Antony Dovgal
72c8da0695 fix #40606 (umask is not being restored when request is finished) 2007-02-23 16:21:31 +00:00
Antony Dovgal
f6987cb6bc plug possible leak 2007-02-13 12:56:10 +00:00
Marcus Boerger
e5762b7241 - Fix mem access 2007-01-10 20:12:14 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
a04c65f97f fix ZTS build 2006-12-28 15:03:19 +00:00
Andrei Zmievski
6212288bea Unicode support in sscanf() and fscanf(). (Tony, Andrei) 2006-12-26 22:34:05 +00:00
Antony Dovgal
0bf0c3c75a fix double free 2006-12-21 00:00:11 +00:00
Antony Dovgal
2073b38b0f fix double free on error 2006-12-20 22:42:59 +00:00
Dmitry Stogov
938f3d6efa Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 08:59:26 +00:00
Antony Dovgal
6f0472aa4c erm.. somehow this part got here twice 2006-12-12 22:38:30 +00:00
Sara Golemon
aa08686c85 More BC bodges for fgets/fgetss 2006-12-08 01:02:49 +00:00
Antony Dovgal
7ea07ff6dc MFB tests (they still fail though)
fix BC in fgetss()
2006-12-07 23:00:45 +00:00
Sara Golemon
53a4c18c6a Change fgets() behavior back to BC version 2006-12-07 09:51:36 +00:00
Antony Dovgal
2f5f375850 don't pass negative maxchars to php_stream_get_line_ex() 2006-12-05 13:45:49 +00:00
Sara Golemon
fac71c77c1 Add str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation 2006-12-05 04:52:44 +00:00
Sara Golemon
78f65cc451 Unicode upgrade for fgetcsv() 2006-12-05 04:13:47 +00:00