blob: 1178416f37a86c13cc36e0019808a79ef198ce17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ah,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
--- lib/cgi/session.rb.orig 2003-08-29 22:38:31.000000000 +0900
+++ lib/cgi/session.rb
@@ -372,7 +372,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
|