view xml/ja/docs/sys_errlist.xml @ 1009:135920b5c61d

Marked strings with entities in japanese translation as literal. This allows to preserve information and produce correct output if the XML parser expands entities on input. The markup is similar to english and russian versions of the document.
author Vladimir Homutov <vl@nginx.com>
date Mon, 11 Nov 2013 11:54:16 +0400
parents 7db449e89e92
children
line wrap: on
line source

<!DOCTYPE article SYSTEM "../../../dtd/article.dtd">

<article name="メッセージ &ldquo;&nbsp;&lsquo;sys_errlist&rsquo;
                is deprecated;
                use &lsquo;strerror&rsquo; or &lsquo;strerror_r&rsquo;
                instead&nbsp;&rdquo;"
         link="/ja/docs/sys_errlist.html"
         lang="ja">

<section>

<para>
nginx のバージョン 0.7.66、0.8.35、もしくはそれ以上を Linux でビルド中、次の警告メッセージが出ます:

<programlisting>
warning: `sys_errlist' is deprecated;
    use `strerror' or `strerror_r' instead
warning: `sys_nerr' is deprecated;
    use `strerror' or `strerror_r' instead
</programlisting>

これは正常です。strerror() と strerror_r() 関数が非同期シグナルセーフではないので、nginx はシングルハンドラの中で非推奨の sys_errlist[] と sys_nerr を使う必要があります。
</para>

</section>

</article>