1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

dbm.c: fix doc

* ext/dbm/dbm.c (Init_dbm): [DOC] as UNIX permissions are octal
  numbers, needs to be prefixed by 0.  [Fix GH-800]
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-12-30 00:29:28 +00:00
parent 418328e29b
commit 28dedcb6a0
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Dec 30 09:29:26 2014 Bernhard M. Wiedemann <bernhard+git@lsmod.de>
* ext/dbm/dbm.c (Init_dbm): [DOC] as UNIX permissions are octal
numbers, needs to be prefixed by 0. [Fix GH-800]
Tue Dec 30 08:57:39 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* lib/unicode_normalize.rb: typo fix. [ci skip]

View file

@ -1034,7 +1034,7 @@ fdbm_reject(VALUE obj)
* == Example
*
* require 'dbm'
* db = DBM.open('rfcs', 666, DBM::WRCREAT)
* db = DBM.open('rfcs', 0666, 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'