[ruby-cvs:51627] nobu:r44482 (trunk): dbm.c: yield dup of keystr

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jan 2 03:43:14 JST 2014


nobu	2014-01-02 03:43:13 +0900 (Thu, 02 Jan 2014)

  New Revision: 44482

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

  Log:
    dbm.c: yield dup of keystr
    
    * ext/dbm/dbm.c (fdbm_fetch): yield dup of keystr, to make it shared
      and get rid of use of uninitialized variable.

  Modified files:
    trunk/ext/dbm/dbm.c
    trunk/test/dbm/test_dbm.rb


More information about the ruby-cvs mailing list