summaryrefslogtreecommitdiff
path: root/ext/dbm
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-25 01:36:33 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-25 01:36:33 (GMT)
commitaa281e75179caa27228a0051efb94d14f7c553e4 (patch)
tree97bd9f53ef84b75919289931ddc6873340b03dff /ext/dbm
parent001f72754573f4d6056aab25fc27664dc417a9b7 (diff)
* ext/curses/curses.c (Init_curses): make Curses::VERSION
understandable without context. * ext/dbm/dbm.c (Init_dbm): ditto for DBM::VERSION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dbm')
-rw-r--r--ext/dbm/dbm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c
index a0022ab..f220d3e 100644
--- a/ext/dbm/dbm.c
+++ b/ext/dbm/dbm.c
@@ -1086,7 +1086,7 @@ Init_dbm(void)
rb_define_const(rb_cDBM, "NEWDB", INT2FIX(O_RDWR|O_CREAT|O_TRUNC|RUBY_DBM_RW_BIT));
#if defined(_DBM_IOERR)
- rb_define_const(rb_cDBM, "VERSION", rb_str_new2("NDBM (4.3BSD)"));
+ rb_define_const(rb_cDBM, "VERSION", rb_str_new2("ndbm (4.3BSD)"));
#elif defined(RUBYDBM_GDBM_HEADER)
# if defined(HAVE_DECLARED_LIBVAR_GDBM_VERSION)
/* since gdbm 1.9 */
@@ -1115,6 +1115,6 @@ Init_dbm(void)
rb_define_const(rb_cDBM, "VERSION", rb_str_new2("QDBM (unknown)"));
# endif
#else
- rb_define_const(rb_cDBM, "VERSION", rb_str_new2("unknown"));
+ rb_define_const(rb_cDBM, "VERSION", rb_str_new2("ndbm (unknown)"));
#endif
}