
marvin at rectangular
Aug 27, 2008, 1:24 PM
Post #1 of 1
(481 views)
Permalink
|
|
r3772 - branches/maint_0.1x/lib/KinoSearch/Store
|
|
Author: creamyg Date: 2008-08-27 13:24:45 -0700 (Wed, 27 Aug 2008) New Revision: 3772 Modified: branches/maint_0.1x/lib/KinoSearch/Store/FSInvIndex.pm Log: Remove O_NONBLOCK flag, as it's not really necessary and can cause problems if the vendor/OS doesn't define it. Modified: branches/maint_0.1x/lib/KinoSearch/Store/FSInvIndex.pm =================================================================== --- branches/maint_0.1x/lib/KinoSearch/Store/FSInvIndex.pm 2008-08-27 16:59:07 UTC (rev 3771) +++ branches/maint_0.1x/lib/KinoSearch/Store/FSInvIndex.pm 2008-08-27 20:24:45 UTC (rev 3772) @@ -85,7 +85,7 @@ sub open_outstream { my ( $self, $filename ) = @_; my $filepath = catfile( $self->{path}, $filename ); - sysopen( my $fh, $filepath, O_CREAT | O_RDWR | O_NONBLOCK | O_EXCL ) + sysopen( my $fh, $filepath, O_CREAT | O_RDWR | O_EXCL ) or confess("Couldn't open file '$filepath': $!"); binmode($fh); return KinoSearch::Store::OutStream->new($fh); _______________________________________________ kinosearch-commits mailing list kinosearch-commits [at] rectangular http://www.rectangular.com/mailman/listinfo/kinosearch-commits
|