svn: /phpdoc/en/trunk/reference/rar/ functions/rar-close.xml rarentry/getstream.xml
| From: | Gustavo André dos Santos Lopes | Date: | Sat, 21 Nov 2009 03:05:14 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/rar/ functions/rar-close.xml rarentry/getstream.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5529@lists.php.net to get a copy of this message | ||
cataphract Sat, 21 Nov 2009 03:05:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291106
Log:
Changed tabs to spaces.
Changed paths:
U phpdoc/en/trunk/reference/rar/functions/rar-close.xml
U phpdoc/en/trunk/reference/rar/rarentry/getstream.xml
Modified: phpdoc/en/trunk/reference/rar/functions/rar-close.xml
===================================================================
--- phpdoc/en/trunk/reference/rar/functions/rar-close.xml 2009-11-21 02:15:16 UTC (rev 291105)
+++ phpdoc/en/trunk/reference/rar/functions/rar-close.xml 2009-11-21 03:05:14 UTC (rev 291106)
@@ -56,8 +56,8 @@
<entry>2.0.0</entry>
<entry>
The Rar entries returned by <function>rar_entry_get</function>
- and <function>rar_list</function> are now invalidated when
- calling <function>rar_close</function>.
+ and <function>rar_list</function> are now invalidated when
+ calling <function>rar_close</function>.
</entry>
</row>
</tbody>
Modified: phpdoc/en/trunk/reference/rar/rarentry/getstream.xml
===================================================================
--- phpdoc/en/trunk/reference/rar/rarentry/getstream.xml 2009-11-21 02:15:16 UTC (rev 291105)
+++ phpdoc/en/trunk/reference/rar/rarentry/getstream.xml 2009-11-21 03:05:14 UTC (rev 291106)
@@ -53,15 +53,15 @@
$stream = $entry->getStream();
if ($stream === false)
die("Failed to obtain stream.");
-
+
rar_close($rar_file); //stream is independent from file
while (!feof($stream)) {
- $buff = fread($stream, 8192);
- if ($buff !== false)
- echo $buff;
- else
- break; //fread error
+ $buff = fread($stream, 8192);
+ if ($buff !== false)
+ echo $buff;
+ else
+ break; //fread error
}
fclose($stream);