blob: 1a89a6dbaf34ee223209ff75924eda809e26eab2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ag,v 1.1.1.1 2004/11/27 14:14:05 taca Exp $
--- lib/cgi/session.rb.orig 2002-05-01 18:36:28.000000000 +0900
+++ lib/cgi/session.rb
@@ -116,7 +116,7 @@ class CGI
begin
@f = open(path, "r+")
rescue Errno::ENOENT
- @f = open(path, "w+")
+ @f = File.open(path, File::CREAT|File::RDWR, 0600)
end
end
|