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
Pierre Joye
19abc4b507
- #39538 , fgetcsv can't handle starting newlines and trailing odd
...
number of backslashes (David Soria Parra, Pierre)
2006-11-22 12:56:26 +00:00
Antony Dovgal
7032c7dddf
efree() if not NULL
2006-11-20 11:12:35 +00:00
Antony Dovgal
c7fd59af0f
don't forget to close the stream when/if flock() fails
2006-11-13 20:31:15 +00:00
Antony Dovgal
49a2ae60d0
fix leaks in get_meta_tags() when used with b0rked HTML
...
add test
2006-11-13 20:17:05 +00:00
Andrei Zmievski
bee52acb7d
Unicode support for fnmatch().
2006-10-25 17:28:20 +00:00
Ilia Alshanetsky
f3eee9d980
MFB: Fixed bug #38934 (move_uploaded_file() cannot read uploaded file
...
outside of open_basedir).
2006-10-13 01:44:42 +00:00
Sara Golemon
25af62e3f4
Fix realpath() in unicode mode
2006-10-09 02:52:27 +00:00
Hannes Magnusson
176b72284c
Error message clean up
...
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Antony Dovgal
1bdcfa172a
use correct type for p_len
2006-10-03 23:09:08 +00:00
Sara Golemon
a4b9e3719b
Apply new path encoding style to the rest of e/s/file.c
...
This layout is definately simpler to maintain
and every bit as functional as the other version.
2006-10-02 03:13:47 +00:00
Sara Golemon
d2ff6db191
Apply simplified path encoding to copy() and give it a context param.
...
Funnily enough, this makes the copy() implementation almost identical
to what it was back in PHP5.
2006-10-02 02:47:34 +00:00
Sara Golemon
e321287b4f
Try out simplified API for encoding paths/filenames
2006-10-02 02:24:29 +00:00
Sara Golemon
e1c934d56c
PHP6 Updates for rmdir/mkdir/rename
2006-09-24 21:40:44 +00:00
Sara Golemon
f8fdb67056
PHP6 Updates for popen() and related functionality
2006-09-24 20:33:14 +00:00
Sara Golemon
74e30fd41d
PHP6 Update for get_meta_tags() -- What a silly function...
2006-09-24 20:01:29 +00:00
Sara Golemon
6dffc7bf14
Fix copy() from last commit and add a few more PHP6 updates
2006-09-22 21:48:33 +00:00
Sara Golemon
6905daca8e
Update copy() for PHP6
2006-09-22 20:02:26 +00:00
Sara Golemon
29ccb96d9e
Tweak file_get_contents()'s return value a little
2006-09-22 18:23:33 +00:00
Dmitry Stogov
128548a5c0
Disabled autoconversion of hash keys (from string to unicode) for PHP arrays
2006-09-19 10:38:31 +00:00
Antony Dovgal
84060835f7
add a notice to fgetcsv() when delimiter or enclosure is longer than 1 char
...
(feature request #38496 )
2006-08-18 12:50:36 +00:00
Antony Dovgal
6b4bfe4a35
all stream functions are actually macros that already have TSRMLS_CC,
...
no need to pass it manually
2006-07-16 15:54:25 +00:00
Marcus Boerger
d795e0b9bb
- Implement todo: SplFileObject: ability to set the CSV separator per object
2006-07-15 14:31:51 +00:00
Sara Golemon
74eb59da59
#38105 (4/3) ustrlen != USTRLEN, update variable names used to keep this block's meaning clear
2006-07-14 20:50:45 +00:00
Antony Dovgal
44ad98405f
MFB: rephrase the error message ( fixes #38106 )
2006-07-14 20:45:37 +00:00
Sara Golemon
165b2f2b76
#38105 (3/3) Default file_put_contents() to FILE_TEXT when unicode.semantics=on and flags param not specified
2006-07-14 19:16:23 +00:00
Antony Dovgal
d5f90c48c7
initialize srcstream
...
use different variable in local scope
2006-05-29 10:42:10 +00:00
Antony Dovgal
f59d444d8a
prevent resource leaking when passing invalid stream resource as second argument
2006-05-29 10:23:53 +00:00
Hartmut Holzgraefe
205bdeda41
Name change: php_get_tmpdir() renamed to sys_get_temp_dir()
2006-05-19 10:44:34 +00:00
Hartmut Holzgraefe
daa5febadf
Added php_get_tmpdir() function that returns the default directory for
...
temporary files (as requested in bug #35380 )
2006-05-06 09:59:02 +00:00
Sara Golemon
d77a8562c2
Unicode Updates:
...
file() now unicode ready
get_meta_tags() updated for FS encoding, but content is still non-unicode
2006-05-02 18:23:32 +00:00
Frank M. Kromann
e6e2754439
Remove ZSTR() from stream macros. Calling function must apply this macro
2006-04-28 19:03:58 +00:00
Frank M. Kromann
1791befa0c
Fix Win32 build. NULL_ZSTR was converted to ZSTR(NULL_ZSTR)
2006-04-22 10:39:31 +00:00
Sara Golemon
ea106887a7
Silence compiler warnings
2006-04-18 19:10:12 +00:00
Sara Golemon
1e9a9d596b
MFB (r-1.409.2.6) copy() should not disrespect open_basedir on source file
2006-04-14 17:44:56 +00:00
Sara Golemon
b2523b29b8
Update filename handling and mark various functions for unicode safety
2006-04-01 00:05:31 +00:00
Sara Golemon
fd606a8d78
Add API hooks and unicode.filesystem_encoding for handling unicode
...
conversions of filename entries.
Normal path conversions will simply use this converter,
Certain other protocols (such as http) which specify a
required character set (utf8), may override the conversion
by defining a path_encode() and/or path_decode() wrapper ops method.
2006-03-31 22:51:37 +00:00