summaryrefslogtreecommitdiff
path: root/lang/ruby18/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby18/patches/patch-ah')
-rw-r--r--lang/ruby18/patches/patch-ah13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/ruby18/patches/patch-ah b/lang/ruby18/patches/patch-ah
new file mode 100644
index 00000000000..1178416f37a
--- /dev/null
+++ b/lang/ruby18/patches/patch-ah
@@ -0,0 +1,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
+