changeset 61:502103680ea2 draft

Call srand() without parameter.
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 25 Jun 2012 12:36:26 +0900
parents 592d958cab58
children 2d33f85c3d9f
files after5.rb
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/after5.rb	Mon Jun 25 12:34:22 2012 +0900
+++ b/after5.rb	Mon Jun 25 12:36:26 2012 +0900
@@ -4,7 +4,7 @@
 # Associative Scheduling Table - after5
 # (C)2003, 2004, 2006, 2008, 2012 by HIROSE Yuuji [yuuji<at>gentei.org]
 # $Id: after5.rb,v 1.19 2012/04/01 11:52:25 yuuji Exp yuuji $
-# Last modified Mon Jun 25 12:33:50 2012 on firestorm
+# Last modified Mon Jun 25 12:35:46 2012 on firestorm
 # See http://www.gentei.org/~yuuji/software/after5/
 # このスクリプトはEUCで保存してください。
 $hgid = <<_HGID_.split[1..-2].join(" ")
@@ -245,7 +245,7 @@
     @pdb.close()
   end
   def newpasswd(length)
-    srand(Time.now.to_f)
+    srand()
     left	= "qazxswedcvfrtgb12345"
     right	= "yhnmjuik.lop;/67890-"
     array	= [left, right]

yatex.org