[前][次][番号順一覧][スレッド一覧]

ruby-changes:31062

From: zzak <ko1@a...>
Date: Fri, 4 Oct 2013 19:56:33 +0900 (JST)
Subject: [ruby-changes:31062] zzak:r43141 (trunk): * ext/dbm/dbm.c: [DOC] Fix wrong constant name in DBM by @edward

zzak	2013-10-04 19:56:27 +0900 (Fri, 04 Oct 2013)

  New Revision: 43141

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43141

  Log:
    * ext/dbm/dbm.c: [DOC] Fix wrong constant name in DBM by @edward
      [Fixes GH-409] https://github.com/ruby/ruby/pull/409

  Modified files:
    trunk/ChangeLog
    trunk/ext/dbm/dbm.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43140)
+++ ChangeLog	(revision 43141)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Oct  4 19:54:09 2013  Zachary Scott  <e@z...>
+
+	* 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 <ruby@t...>
 
 	* gc.c: rename heap.free_num as heap.swept_num to clarify meaning and
Index: ext/dbm/dbm.c
===================================================================
--- ext/dbm/dbm.c	(revision 43140)
+++ ext/dbm/dbm.c	(revision 43141)
@@ -1011,7 +1011,7 @@ fdbm_reject(VALUE obj) https://github.com/ruby/ruby/blob/trunk/ext/dbm/dbm.c#L1011
  * == 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'

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]