Mercurial > hgrepos > hgweb.cgi > after5
changeset 30:af3f2175eddf draft
Expand Array to string.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 03 Apr 2012 16:23:45 +0900 |
parents | e7a01e561e28 |
children | aceb533dfa32 |
files | after5.rb |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/after5.rb Tue Apr 03 15:06:33 2012 +0900 +++ b/after5.rb Tue Apr 03 16:23:45 2012 +0900 @@ -5,7 +5,7 @@ # (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 $ # $HGid$ -# Last modified Tue Apr 3 15:05:40 2012 on firestorm +# Last modified Tue Apr 3 16:23:09 2012 on firestorm # See http://www.gentei.org/~yuuji/software/after5/ # このスクリプトはEUCで保存してください。 @@ -781,7 +781,7 @@ if test(?s, f) ntl[user][date] = {} ntl[user][date]['file'] = f - ntl[user][date]['text'] = IO.readlines(f).toeuc + ntl[user][date]['text'] = IO.readlines(f).join.toeuc else File.unlink(f) # symlink points to nonexistent file end