cvs: pear /HTTP_WebDAV_Client/Client Stream.php

[email protected] ("Hartmut Holzgraefe")
Newsgroups php.pear.cvs
Message-ID <cvshholzgra1209082163@cvsserver>
hholzgra		Fri Apr 25 00:09:23 2008 UTC

  Modified files:              
    /pear/HTTP_WebDAV_Client/Client	Stream.php 
  Log:
  fixed Bug #13229 "Opening files for append does not place pointer at eof?"
  
  
http://cvs.php.net/viewvc.cgi/pear/HTTP_WebDAV_Client/Client/Stream.php?r1=1.9&r2=1.10&diff_format=u
Index: pear/HTTP_WebDAV_Client/Client/Stream.php
diff -u pear/HTTP_WebDAV_Client/Client/Stream.php:1.9 pear/HTTP_WebDAV_Client/Client/Stream.php:1.10
--- pear/HTTP_WebDAV_Client/Client/Stream.php:1.9	Tue Jan  8 16:05:10 2008
+++ pear/HTTP_WebDAV_Client/Client/Stream.php	Fri Apr 25 00:09:22 2008
@@ -186,6 +186,7 @@
 
         // 'a' -> open for appending
         if (strpos($mode, "a") !== false) {
+            $this->position = $this->stat['size'];            
             $this->eof = true;
         }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.