svnno****@sourc*****
svnno****@sourc*****
2008年 5月 16日 (金) 16:54:45 JST
Revision: 654 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=654 Author: tach Date: 2008-05-16 16:54:45 +0900 (Fri, 16 May 2008) Log Message: ----------- Fix warning at Slash/Utility/System/System.pm line 492 Modified Paths: -------------- slashjp/branches/2.5.0.192/Slash/Utility/System/System.pm -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/Slash/Utility/System/System.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/Utility/System/System.pm 2008-05-16 07:24:45 UTC (rev 653) +++ slashjp/branches/2.5.0.192/Slash/Utility/System/System.pm 2008-05-16 07:54:45 UTC (rev 654) @@ -489,7 +489,7 @@ if (!open $fh, "> $filename\0") { $err_str .= " could not write to '$filename': '$!'"; } else { - binmode $fh, ":encoding($options->{encoding})" if ($options->{encoding}); + binmode $fh, ":encoding($options->{encoding})" if (defined($options->{encoding})); print $fh $data; close $fh; $success = 1;