[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/_features/commandline.xml_reference/filesystem/functions/s
From:       Christoph_Michael_Becker <cmb () php ! net>
Date:       2020-07-22 9:24:50
Message-ID: svn-cmb-1595409890-350194-1287366159 () svn ! php ! net
[Download RAW message or body]

cmb                                      Wed, 22 Jul 2020 09:24:50 +0000

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

Log:
Fix #78400: Sym-linked files are not accessible

Bug: https://bugs.php.net/78400 (error getting bug information)
      
Changed paths:
    U   phpdoc/en/trunk/features/commandline.xml
    U   phpdoc/en/trunk/reference/filesystem/functions/stat.xml

Modified: phpdoc/en/trunk/features/commandline.xml
===================================================================
--- phpdoc/en/trunk/features/commandline.xml	2020-07-22 09:19:44 UTC (rev 350193)
+++ phpdoc/en/trunk/features/commandline.xml	2020-07-22 09:24:50 UTC (rev 350194)
@@ -1770,6 +1770,10 @@
 [Thu Jul 21 10:48:52 2011] ::1:39149 GET /favicon.ico - Request read
 ]]>
    </screen>
+   <para>
+    Note that prior to PHP 7.4.0, symlinked statical resources have not been
+    accessible on Windows, unless the router script would handle these.
+   </para>
   </example>

   <example>

Modified: phpdoc/en/trunk/reference/filesystem/functions/stat.xml
===================================================================
--- phpdoc/en/trunk/reference/filesystem/functions/stat.xml	2020-07-22 09:19:44 UTC (rev 350193)
+++ phpdoc/en/trunk/reference/filesystem/functions/stat.xml	2020-07-22 09:24:50 UTC (rev 350194)
@@ -16,6 +16,9 @@
    Gathers the statistics of the file named by
    <parameter>filename</parameter>.  If <parameter>filename</parameter> is a
    symbolic link, statistics are from the file itself, not the symlink.
+   Prior to PHP 7.4.0, on Windows <abbrev>NTS</abbrev> builds the <literal>size</literal>,
+   <literal>atime</literal>, <literal>mtime</literal> and <literal>ctime</literal>
+   statistics have been from the symlink, in this case.
   </para>
   <para>
    <function>lstat</function> is identical to <function>stat</function>
@@ -214,6 +217,14 @@
        contains the file, and the inode number is the identifier associated with the file.
       </entry>
      </row>
+     <row>
+      <entry>7.4.0</entry>
+      <entry>
+       The <literal>size</literal>, <literal>atime</literal>, <literal>mtime</literal> and
+       <literal>ctime</literal> statistics of symlinks are always those of the target.
+       This was previously not the case for <abbrev>NTS</abbrev> builds on Windows.
+      </entry>
+     </row>
     </tbody>
    </tgroup>
   </informaltable>



-- 
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