summaryrefslogtreecommitdiff
path: root/ext/dbm
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-25 07:26:22 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-25 07:26:22 (GMT)
commit905609851690f3c67c1b54186535dc9b7acf697d (patch)
tree0e3434810c3528fb59540644c8ed64a5b10f3e9c /ext/dbm
parenteeff98c4308b47dfec68c5c41c02736fca451e2f (diff)
update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dbm')
-rw-r--r--ext/dbm/dbm.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c
index e0640d9..dbf1024 100644
--- a/ext/dbm/dbm.c
+++ b/ext/dbm/dbm.c
@@ -1117,6 +1117,18 @@ Init_dbm(void)
#else
version = rb_str_new2("ndbm (unknown)");
#endif
+ /*
+ * Identifies ndbm library version.
+ *
+ * Examples:
+ *
+ * - "ndbm (4.3BSD)"
+ * - "Berkeley DB 4.8.30: (April 9, 2010)"
+ * - "Berkeley DB (unknown)" (4.4BSD, maybe)
+ * - "GDBM version 1.8.3. 10/15/2002 (built Jul 1 2011 12:32:45)"
+ * - "QDBM 1.8.78"
+ *
+ */
rb_define_const(rb_cDBM, "VERSION", version);
}
}