svn: /phpdoc/en/trunk/reference/zip/ziparchive/ addfile.xml
| From: | Kalle Sommer Nielsen | Date: | Sat, 23 Oct 2010 06:12:15 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/zip/ziparchive/ addfile.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7299@lists.php.net to get a copy of this message | ||
kalle Sat, 23 Oct 2010 06:12:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=304638
Log:
Fixed bug #51541 (ZipArchive::addFile does not really add files)
Bug: http://bugs.php.net/51541 (Open) ZipArchive::addFile
does not really add files
Changed paths:
U phpdoc/en/trunk/reference/zip/ziparchive/addfile.xml
Modified: phpdoc/en/trunk/reference/zip/ziparchive/addfile.xml
===================================================================
--- phpdoc/en/trunk/reference/zip/ziparchive/addfile.xml 2010-10-23 05:59:00 UTC (rev 304637)
+++ phpdoc/en/trunk/reference/zip/ziparchive/addfile.xml 2010-10-23 06:12:15 UTC (rev 304638)
@@ -71,6 +71,16 @@
</programlisting>
</example>
</refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <note>
+ <para>
+ When a file is set to be added to the archive, PHP will attempt to lock
+ the file and it is only released once the ZIP operation is done. In short,
+ it means you can first delete an added file after the archive is closed.
+ </para>
+ </note>
+ </refsect1>
</refentry>
<!-- Keep this comment at the end of the file