[cvs] commit: framework/VFS/VFS file.php
Chuck Hagenbuch
chuck at horde.org
Tue Sep 7 08:45:23 PDT 2004
chuck 2004-09-07 08:45:23 PDT
Modified files:
VFS/VFS file.php
Log:
- In write(), we already have a source file - just copy() it to the destination inside
the VFS instead of reading it into PHP memory. Should be a nice optimization.
- In writeData(), treat the case where $data is zero-length as a call to touch()
(inspired by http://pear.php.net/bugs/bug.php?id=2298, though that was
already fixed seemingly).
Revision Changes Path
1.60 +24 -16 framework/VFS/VFS/file.php
Chora Links:
http://cvs.horde.org/diff.php/framework/VFS/VFS/file.php?r1=1.59&r2=1.60&ty=u
More information about the cvs
mailing list