diff --git a/ChangeLog b/ChangeLog index a5300cf319..a9d718fbba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 4 19:54:09 2013 Zachary Scott + + * ext/dbm/dbm.c: [DOC] Fix wrong constant name in DBM by @edward + [Fixes GH-409] https://github.com/ruby/ruby/pull/409 + Fri Oct 4 19:49:42 2013 Aman Gupta * gc.c: rename heap.free_num as heap.swept_num to clarify meaning and diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c index eb05afc1a4..c77897ece5 100644 --- a/ext/dbm/dbm.c +++ b/ext/dbm/dbm.c @@ -1011,7 +1011,7 @@ fdbm_reject(VALUE obj) * == Example * * require 'dbm' - * db = DBM.open('rfcs', 666, DBM::CREATRW) + * db = DBM.open('rfcs', 666, DBM::WRCREAT) * db['822'] = 'Standard for the Format of ARPA Internet Text Messages' * db['1123'] = 'Requirements for Internet Hosts - Application and Support' * db['3068'] = 'An Anycast Prefix for 6to4 Relay Routers'