diff options
author | xibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-19 05:43:46 +0000 |
---|---|---|
committer | xibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-19 05:43:46 +0000 |
commit | 6c3a57a19b921678c27fcb99573509f46a70436d () | |
tree | be1ff42b7821029dbf6d8c6c97ed114cab30df8c /lib/cgi/session.rb | |
parent | 4254686922f836ac1648e3ccdff4756cb3f7e99c (diff) |
* lib/cgi/session.rb: update use rescue Errno::ENOENT because
session delete shoud try all pattern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/cgi/session.rb | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -435,10 +435,9 @@ class CGI # Close and delete the session's FileStore file. def delete - File::unlink @path+".lock" - File::unlink @path+".new" - File::unlink @path - rescue Errno::ENOENT end end |