cvs: phpdoc-ja /reference/filesystem/functions realpath.xml

From: Date: Thu, 23 Feb 2006 12:53:30 +0000
Subject: cvs: phpdoc-ja /reference/filesystem/functions realpath.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-1479@lists.php.net to get a copy of this message
takagi Thu Feb 23 12:53:30 2006 UTC Modified files: /phpdoc-ja/reference/filesystem/functions realpath.xml Log: fixed mistranslation. http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/filesystem/functions/realpath.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/filesystem/functions/realpath.xml diff -u phpdoc-ja/reference/filesystem/functions/realpath.xml:1.6 phpdoc-ja/reference/filesystem/functions/realpath.xml:1.7 --- phpdoc-ja/reference/filesystem/functions/realpath.xml:1.6 Sun Aug 28 15:22:33 2005 +++ phpdoc-ja/reference/filesystem/functions/realpath.xml Thu Feb 23 12:53:30 2006 @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./ja/functions/filesystem.xml, last change in rev 1.10 --> <!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> @@ -14,21 +15,21 @@ <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> <para> - <function>realpath</function> は、シンボリックリンクを全て展開し、 - 入力 <parameter>path</parameter> - の「/./」、「/../」、「/」が指すものを調べます。 - 返されるパスはシンボリックリンクや「/./」、「/../」要素を含みません。 + <function>realpath</function> は、 + 入力 <parameter>path</parameter> のシンボリックリンクをすべて展開し、 + 「/./」「/../」「/」などの参照をすべて解決することにより、正規化した絶対パスを返します。 + 返されるパスはシンボリックリンクや「/./」「/../」要素を含みません。 </para> <para> <function>realpath</function> は、 たとえばファイルが存在しないなどの失敗時に &false; を返します。 BSD システムでは <function>realpath</function> - は最後の <parameter>path</parameter> コンポーネントが存在しない場合のみ - 失敗となりません。他のシステムでは &false; を返します。 + は最後の <parameter>path</parameter> コンポーネントのみが存在しない場合には + 失敗となりません。一方、他のシステムではそのような場合にも &false; を返します。 </para> <para> <example> - <title><function>realpath</function>の例</title> + <title><function>realpath</function> の例</title> <programlisting role="php"> <![CDATA[ <?php

« previous php.doc.ja (#1479) next »