Commit Graph

547 Commits

Author SHA1 Message Date
Ilia Alshanetsky
2e83dd93eb MFB: Fixed bug #48313 (fgetcsv() return empty string rather then NULL for
empty rows)
2009-05-25 13:02:55 +00:00
Jani Taskinen
a459fddd54 ws 2009-05-21 01:39:48 +00:00
Arnaud Le Blanc
bdff89dc4f Fix default behavior of file() (FILE_TEXT flag is the default) 2009-05-08 10:01:40 +00:00
Arnaud Le Blanc
65f951b561 Missing check 2009-05-08 10:00:09 +00:00
Arnaud Le Blanc
64725cb0fc MFB5.3 fix for bug #44034 (FILE_IGNORE_NEW_LINES in file() does not work as
expected when lines end in \r\n) (fixes #48175)
2009-05-08 09:50:11 +00:00
Arnaud Le Blanc
6b213bffb6 Better fix for #47997 2009-04-19 17:09:47 +00:00
Arnaud Le Blanc
069c0fdc80 MFB5.3: Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams) 2009-04-19 13:50:25 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Pierre Joye
a351279a2f - MFB
- [DOC] add support for fnmatch() on Windows
 - enable tests (pass)
2009-01-20 01:41:19 +00:00
Antony Dovgal
ae66becc2b use temp var instead of wrong typecast 2009-01-09 22:50:45 +00:00
Antony Dovgal
fe5b155288 change functions to be consistent between branches 2009-01-09 18:23:45 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Etienne Kneuss
b884dddbbf Fix #46636 (segfault in SplFileinfo::fgetcsv()) 2008-12-20 00:51:00 +00:00
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