Author: Tobias Schlitt
Date: 2006-01-16 12:10:49 +0100 (Mon, 16 Jan 2006)
New Revision: 1916

Log:
- Remove EOL string from ezcArchiveEntry::__toString() (user should do that, if 
he wants).

Modified:
   packages/Archive/trunk/src/archive.php
   packages/Archive/trunk/src/archive_entry.php

Modified: packages/Archive/trunk/src/archive.php
===================================================================
--- packages/Archive/trunk/src/archive.php      2006-01-16 10:53:27 UTC (rev 
1915)
+++ packages/Archive/trunk/src/archive.php      2006-01-16 11:10:49 UTC (rev 
1916)
@@ -654,7 +654,7 @@
 
         while ( $this->valid() )
         {
-            $result .= $this->current()->__toString();
+            $result .= $this->current()->__toString()."\n";
             $this->next();
         }
 

Modified: packages/Archive/trunk/src/archive_entry.php
===================================================================
--- packages/Archive/trunk/src/archive_entry.php        2006-01-16 10:53:27 UTC 
(rev 1915)
+++ packages/Archive/trunk/src/archive_entry.php        2006-01-16 11:10:49 UTC 
(rev 1916)
@@ -439,7 +439,7 @@
         $out .= date( "Y-m-d H:i:s ", $this->getModificationTime() );
         $out .= $this->getPath();
 
-        $out .= ( $this->isLink() ? " -> " . $this->getLink() : "" ) . "\n";
+        $out .= ( $this->isLink() ? " -> " . $this->getLink() : "" );
 
         return $out;
     }

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to