Project

General

Profile

Actions

Backport #484

closed

OpenSSL::Config does not freeze correctly

Added by premchai21 (Drake Wilson) over 16 years ago. Updated over 13 years ago.


Description

=begin


 #!/usr/bin/ruby
 require 'openssl'
 c = OpenSSL::Config.new
 c['foo'] = [['key', 'value']]
 c.freeze
 c['foo'] = [['key', 'wrong']]
 p c['foo']['key']
 # Prints "wrong"
 

=end

Actions #1

Updated by premchai21 (Drake Wilson) over 16 years ago

=begin
Amazing. The preview showed me a completely wrong rendition. Let's try that again.

#!/usr/bin/ruby
require 'openssl'
c = OpenSSL::Config.new
c['foo'] = [ ['key', 'value'] ]
c.freeze
c['foo'] = [ ['key', 'wrong'] ]
p c['foo']['key'] # Prints "wrong"

=end

Actions #2

Updated by shyouhei (Shyouhei Urabe) almost 16 years ago

  • Assignee set to gotoyuzo (GOTOU Yuuzou)

=begin

=end

Actions #3

Updated by marcandre (Marc-Andre Lafortune) about 15 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r25069.
=end

Actions #4

Updated by marcandre (Marc-Andre Lafortune) about 15 years ago

  • Category set to lib
  • Target version set to Ruby 1.8.8
  • ruby -v set to -

=begin
Fixed also for Ruby 1.9 in r25017
=end

Actions #5

Updated by shyouhei (Shyouhei Urabe) about 15 years ago

  • Status changed from Closed to Assigned
  • Assignee changed from gotoyuzo (GOTOU Yuuzou) to wyhaines (Kirk Haines)

=begin
1.8.6 has this issue, meseems.
=end

Actions #6

Updated by wyhaines (Kirk Haines) over 14 years ago

  • Status changed from Assigned to Closed

=begin
This issue was solved with changeset r28002.
Drake, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0