argra****@users*****
argra****@users*****
2013年 8月 24日 (土) 16:32:10 JST
Index: docs/perl/5.16.1/perlipc.pod diff -u docs/perl/5.16.1/perlipc.pod:1.2 docs/perl/5.16.1/perlipc.pod:1.3 --- docs/perl/5.16.1/perlipc.pod:1.2 Sat Apr 6 04:36:51 2013 +++ docs/perl/5.16.1/perlipc.pod Sat Aug 24 16:32:09 2013 @@ -619,12 +619,22 @@ Perl 5.7.3 以降ではデフォルトでは自動的に C<:perlio> 層が使われます。 +=begin original + Note that it is not advisable to access a file handle within a signal handler where that signal has interrupted an I/O operation on that same handle. While perl will at least try hard not to crash, there are no guarantees of data integrity; for example, some data might get dropped or written twice. +=end original + +シグナルがファイルハンドルに対する I/O 操作を中断した場所で、シグナル +ハンドラの中のそのハンドラをアクセスするのは勧められません。 +perl は少なくともクラッシュはしないように努力する一方、データの +完全性については保証しないので、一部のデータは欠落したり 2 回 +書かれたりするかもしれません。 + =begin original Some networking library functions like gethostbyname() are known to have