[Tokyo.pm] 5.6.1 and 5.7.1
utashiro @ iij.ad.jp
utashiro @ iij.ad.jp
2001年 4月 25日 (水) 23:46:37 CDT
From: Inaba Hiroto <inaba @ st.rim.or.jp>
Subject: [Tokyo.pm] 5.6.1 and 5.7.1
Date: Thu, 12 Apr 2001 02:09:10 +0900
> 5.6.1と5.7.1が(やっと)出ました。
> まだ日本語でこれを伝えているのを他に見ていませんのでお知らせします。
先日 mg-2.25 をリリースしたんですが、5.6.0 で seek がうまく動かなかっ
た問題に対応しています。
if (0) {
##
## This part used be written as this:
##
seek(STDIN, $pad, 1) || read(STDIN, $__trash__, $pad);
##
## However there was a situation this seek sets to wrong
## position in the file (FreeBSD 3.4 i386 + perl5.6.0).
## It seems to be a bug incorporated in 5.6.0 and fixed in
## 5.6.1. This workaround is intentionally kept in case
## of used with buggy 5.6.0 and there is no strong reason
## to behave differently.
##
} else {
read(STDIN, $__trash__, $pad);
}
ずいぶん前に tar ファイルがうまく検索できないことに気が付いて、こうい
う対処をしたんですが、5.6.1 だと問題なかったので 5.6.0 のバグだろうと
結論しました。
これって有名な問題?
--utashiro
Tokyo-pm メーリングリストの案内