[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/zip/ziparchive/_addfile.xml?=
From:       Adam_Harvey <aharvey () php ! net>
Date:       2014-05-22 21:46:44
Message-ID: svn-aharvey-1400795204-333598-1939083888 () svn ! php ! net
[Download RAW message or body]

aharvey                                  Thu, 22 May 2014 21:46:44 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=333598

Log:
Fix doc bug #67313 (Note by ZipArchive::addFile is confusing).

Bug: https://bugs.php.net/67313 (Open) Note by ZipArchive::addFile is confusing
      
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	2014-05-22 21:28:59 UTC (rev 333597)
+++ phpdoc/en/trunk/reference/zip/ziparchive/addfile.xml	2014-05-22 21:46:44 UTC (rev 333598)
@@ -93,9 +93,12 @@
   &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.
+    When a file is set to be added to the archive, PHP will lock the file. The
+    lock is only released once the <classname>ZipArchive</classname> object
+    has been closed, either via <methodname>ZipArchive::close</methodname> or
+    the <classname>ZipArchive</classname> object being destroyed. This may
+    prevent you from being able to delete the file being added until after the
+    lock has been released.
    </para>
   </note>
  </refsect1>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic