foobar
2a05750281
Fixed bug #27020 (Compile failure; sys/select.h: No such file or directory)
2004-01-25 06:09:36 +00:00
Ilia Alshanetsky
39b62f26cf
Fixed bug #26967 (make various file operations return FALSE on error).
2004-01-19 18:40:39 +00:00
Moriyoshi Koizumi
abfda09eda
Fix fgetcsv() to reflect the change on 4.3.5 behaviour.
2004-01-18 20:29:34 +00:00
Wez Furlong
09fb5dc1e6
Remove stale code from flock();
...
spotted by Hartmut.
2004-01-14 14:37:38 +00:00
Wez Furlong
cd4262eedd
Fix #26772 : fgets returns NULL instead of FALSE.
2004-01-14 14:25:01 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Ilia Alshanetsky
939a70a86d
s/then/than/ Thanks Jani & Andi
2004-01-03 00:48:55 +00:00
Ilia Alshanetsky
6f7fe1dfa0
Fixed bug #26752 (Silent unterminated loop when length parameter for
...
fgets(), fread() and fgetss() is 0).
2004-01-02 00:57:23 +00:00
Moriyoshi Koizumi
93cc95e9db
- fixes for compatibility. now fgetcsv() treats a null line to be a single
...
null component.
2003-12-24 21:30:43 +00:00
Sara Golemon
c56647833b
Route mkdir()/rmdir() via wrapper ops.
...
Move current rmdir()/rmdir() code to plain_wrappers.c
Implement mkdir()/rmdir() in ftp:// wrapper
2003-12-13 04:07:18 +00:00
Sara Golemon
b1f8236b63
Route rename() via wrapper ops.
...
Move current rename() code to main/streams/plain_wrapper.c
Implement ftp/rename()
Implement userstreams/rename()
2003-12-12 23:06:42 +00:00
Moriyoshi Koizumi
35c3a7f525
Expose the macro globally
2003-12-10 06:08:39 +00:00
Wez Furlong
37f135ceef
Add stream_socket_sendto and stream_socket_recvfrom which work very much
...
like sendto() and recvfrom() syscalls.
2003-11-29 21:46:50 +00:00
Ilia Alshanetsky
c722ab91ee
Fixed bug #26355 (flock() doesn't initialize the wouldblock argument)
2003-11-24 01:42:43 +00:00
Moriyoshi Koizumi
e6feb47f00
Some clean-ups
2003-10-29 22:25:57 +00:00
Moriyoshi Koizumi
1085c08aa5
Add missing reinitialization call
2003-10-27 22:45:58 +00:00
Moriyoshi Koizumi
69dcdcb7c1
Fixed bug #26003 (fgetcsv() not binary-safe on null bytes)
2003-10-27 22:36:44 +00:00
Moriyoshi Koizumi
2c95c42404
Fix the macro to prevent it from falling over in a mess
2003-10-05 13:59:15 +00:00
Moriyoshi Koizumi
80edbeba2f
Change fgetcsv() so that the second parameter is also optional.
2003-10-04 21:06:29 +00:00
Moriyoshi Koizumi
921e5b47c5
Fix fgetcsv() to correctly support international characters
...
# note: mblen() is not a mbstring function, but is part of the ANSI standard
# which is even supported by Microsoft's libc.
2003-10-04 02:51:19 +00:00
Stanislav Malyshev
e21669502b
MF4: allow realpath() for win32 non-ZTS
2003-09-30 09:52:11 +00:00
Ilia Alshanetsky
dfe3f32ec6
Cleanup previous patch.
2003-09-10 01:07:01 +00:00
Ilia Alshanetsky
29e829fdcf
Fixed bug #14049 (realpath() w/ZTS returns invalid results for non-existent
...
paths)
2003-09-10 00:22:10 +00:00
Sascha Schumann
436a07176c
fix format strings
2003-08-28 16:49:57 +00:00
Ilia Alshanetsky
ed40ae2650
emalloc -> safe_emalloc
2003-08-11 23:16:54 +00:00
Ilia Alshanetsky
4d98e9ec97
Finalize the closing process of persistent streams. The current
...
behavior/API is as follows:
1) To close a persistent use php_stream_pclose(), it will close the stream
and remove it from the persistent list.
2) Inside PHP code only explicit fclose() will close persistent streams,
all other actions such as unset() or assigning a value to stream handle
will not.
3) Regular streams can still be closed by either fclose(), unset() or an
assignment of a value to the stream handler.
2003-07-29 18:26:34 +00:00
Ilia Alshanetsky
abe2afcf6e
Make pclose() respect references.
2003-07-28 14:42:42 +00:00
Ilia Alshanetsky
cd4a281364
Fixed bug #24557 (make fclose() respect refcount on the resource).
2003-07-27 18:45:02 +00:00
Ilia Alshanetsky
a6fd611c5e
Added array handling to file_put_contents()
...
More verbose error reporting mechanism.
Test case for file_put_contents().
2003-06-28 20:06:13 +00:00
Derick Rethans
f2acb42223
- Return number of bytes written instead of just TRUE. (Path by Paul Hudson,
...
hudzilla@php.net )
2003-06-28 08:21:02 +00:00
Marcus Boerger
f304458bdb
Fix ZTS mode (hopefully all is working fine now again)
2003-06-14 19:30:42 +00:00
Marcus Boerger
9605db43ed
Fix ZTS mode
2003-06-14 17:08:49 +00:00
Sara Golemon
99db19661a
Plug leak (context options not freed)
...
Make contexts auto-registered, ensures userland contexts
and C API contexts are both dealt with on request shutdown.
Also brings contexts in keeping with streams which are already
auto-registered.
2003-06-13 21:33:59 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
foobar
9e71e39fa9
WS
2003-06-06 08:10:02 +00:00
Ilia Alshanetsky
32a0044a21
Fixed bug #23913 (make rename() work across partitions on *nix)
2003-05-31 00:32:45 +00:00
Sara Golemon
af5e2af752
Setup FG(default_context) in RINIT/RSHUTDOWN instead of fg_ctor/fg_dtor.
...
Frees context at right time without double freeing.
2003-05-21 21:36:51 +00:00
Wez Furlong
2d1a6e5dc2
MFB context refcounting and text-mode fopen fixes
2003-05-21 13:33:55 +00:00
Sara Golemon
83b7b75c3c
Implement default contexts. For the moment this is useless
...
but it will be used soon for connection pooling.
2003-05-21 04:04:50 +00:00
Sara Golemon
65d359d71a
Fold 'options' parameter into wops->unlink method
2003-05-14 15:12:07 +00:00
Sascha Schumann
31dc62a905
MFB segfault fix
2003-05-14 08:27:48 +00:00
Sara Golemon
5126fbe556
Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops
2003-05-14 06:10:04 +00:00
Hartmut Holzgraefe
e364d1f589
proto fix
2003-05-05 12:36:35 +00:00
Moriyoshi Koizumi
f4c9feb774
Added missing sanity check in fgetcsv()
2003-04-28 15:04:56 +00:00
Sara Golemon
8da5e8e48e
Export constants to userland
2003-04-11 02:55:00 +00:00
Sara Golemon
87c5019dd2
Switch file_put_contents 'bool use_include_path' to 'int flags' to allow other options such as appending
2003-04-08 23:24:53 +00:00
Sara Golemon
41d4fcd0da
Add context support to file_put_contents() and readfile(), convert readfile() to zend_parse_parameters usage, fix proto for file_put_contents()
2003-04-08 22:10:15 +00:00
Sara Golemon
1e853b74a3
Added context support to file()
2003-04-08 21:00:07 +00:00
foobar
a45b4258f0
file_set_contents -> file_put_contents
2003-04-08 14:12:52 +00:00
Sara Golemon
8001f2922c
Add context support to file_get_contents
2003-04-08 00:02:47 +00:00