summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-04 07:04:11 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-04 07:04:11 +0000
commitd1d578775b2d8eeab28fab3375113280d720c204 (patch)
tree5ae16bdd5c133719946c2b4ba4db6784f845187e /lib
parente2ecfc1416f7166aa71a796f3632576cac136919 (diff)
downloadruby-d1d578775b2d8eeab28fab3375113280d720c204.tar.gz
ruby-d1d578775b2d8eeab28fab3375113280d720c204.tar.xz
ruby-d1d578775b2d8eeab28fab3375113280d720c204.zip
* io.c (rb_io_popen): do not call rb_io_close() directly, call
"close" method instead. [ruby-dev:19717] * io.c (rb_io_s_open): ditto. * hash.c (rb_any_hash): remove DEFER_INTS. all do_hash() calls in st.c are at the top of functions. No reentrant problem. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/cgi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index a69fb4cc8..2e18bfd20 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -497,7 +497,7 @@ status:
$stderr.printf("name:%s value:%s\n", name, value) if $DEBUG
case name
when 'Set-Cookie'
- table.add($1, $2)
+ table.add(name, value)
when /^status$/ni
Apache::request.status_line = value
Apache::request.status = value.to_i