Commit Graph

533 Commits

Author SHA1 Message Date
Hannes Magnusson
effa82043b Fixed bug#46681 (mkdir() fails silently on PHP 5.3) 2008-12-12 12:40:58 +00:00
Arnaud Le Blanc
c8f24ea5bd Fixed bug #46673 (stream_lock call with wrong paramater) 2008-11-26 04:18:24 +00:00
Arnaud Le Blanc
2fe765b5f4 Fixed bug #45585 (fread() return value for EOF inconsistent
between PHP 5 and 6)
2008-11-11 00:40:05 +00:00
Arnaud Le Blanc
5ef7ecafc1 initialize optional vars 2008-10-21 22:06:49 +00:00
Arnaud Le Blanc
35fad44b7b Fix leak in fgetc() 2008-09-14 14:55:50 +00:00
Antony Dovgal
63ffff111c fix typo
test before commit!
2008-09-12 10:30:18 +00:00
Felipe Pena
a26fab9f6b - Fixed unexpected zval changes 2008-09-12 01:10:56 +00:00
Felipe Pena
1ae8e8b94e - Fixed some wrong format parameters 2008-09-08 01:30:55 +00:00
Felipe Pena
cbad1c9e7c - New parameter parsing API 2008-08-12 19:38:05 +00:00
Pierre Joye
8369777cae - removed commented code 2008-08-11 13:14:01 +00:00
Pierre Joye
94b661a37f - [DOC] detect if dest is a dir (if the given stream layer supports stat)
and fails
 . remove win32 specific test. The errors are not the same
2008-08-11 13:09:01 +00:00
Antony Dovgal
55fecd6593 invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:24:35 +00:00
Felipe Pena
f76da1b96c - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:06:17 +00:00
Antony Dovgal
3519ed9e31 manage references of stream context properly 2008-07-11 10:24:29 +00:00
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