[Prime-cvs] CVS update: prime/lib/makedict

Back to archive index

Hiroyuki Komatsu komat****@users*****
2004年 12月 9日 (木) 21:24:15 JST


Index: prime/lib/makedict/prime-sary.rb
diff -u prime/lib/makedict/prime-sary.rb:1.4 prime/lib/makedict/prime-sary.rb:1.5
--- prime/lib/makedict/prime-sary.rb:1.4	Thu Jun 24 16:28:44 2004
+++ prime/lib/makedict/prime-sary.rb	Thu Dec  9 21:24:15 2004
@@ -1,5 +1,5 @@
 #### prime-sary.rb: Library for sary on PRIME.
-#### $Id: prime-sary.rb,v 1.4 2004/06/24 07:28:44 komatsu Exp $
+#### $Id: prime-sary.rb,v 1.5 2004/12/09 12:24:15 komatsu Exp $
 ####
 #### Copyright (C) 2003 Hiroyuki Komatsu <komat****@taiya*****>
 ####     All rights reserved.
@@ -80,7 +80,7 @@
         offset_list.push(offset)
         filenames_index[offset] = filename_index
         ios_index[offset] = open(filename_index, "w")
-        ios_index[offset].flock(File::LOCK_EX)
+        ios_index[offset].flock(File::LOCK_EX|File::LOCK_NB)
       end
     }
 


Prime-cvs メーリングリストの案内
Back to archive index