mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/sdbm/init.c: Fix comment indentation, by windwiny [Fixes GH-277]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3a7a773aeb
commit
45b3c3ac39
2 changed files with 23 additions and 19 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Apr 16 12:27:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||||
|
|
||||||
|
* ext/sdbm/init.c: Fix comment indentation, by windwiny [Fixes GH-277]
|
||||||
|
|
||||||
Tue Apr 16 12:25:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
Tue Apr 16 12:25:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||||
|
|
||||||
* ext/socket/option.c: Document synonymous methods, by windwiny [GH-277]
|
* ext/socket/option.c: Document synonymous methods, by windwiny [GH-277]
|
||||||
|
|
|
@ -117,11 +117,11 @@ fsdbm_close(VALUE obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* sdbm.closed? -> true or false
|
* sdbm.closed? -> true or false
|
||||||
*
|
*
|
||||||
* Returns +true+ if the database is closed.
|
* Returns +true+ if the database is closed.
|
||||||
*/
|
*/
|
||||||
static VALUE
|
static VALUE
|
||||||
fsdbm_closed(VALUE obj)
|
fsdbm_closed(VALUE obj)
|
||||||
{
|
{
|
||||||
|
@ -142,20 +142,20 @@ fsdbm_alloc(VALUE klass)
|
||||||
return Data_Wrap_Struct(klass, 0, free_sdbm, 0);
|
return Data_Wrap_Struct(klass, 0, free_sdbm, 0);
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* SDBM.new(filename, mode = 0666)
|
* SDBM.new(filename, mode = 0666)
|
||||||
*
|
*
|
||||||
* Creates a new database handle by opening the given +filename+. SDBM actually
|
* Creates a new database handle by opening the given +filename+. SDBM actually
|
||||||
* uses two physical files, with extensions '.dir' and '.pag'. These extensions
|
* uses two physical files, with extensions '.dir' and '.pag'. These extensions
|
||||||
* will automatically be appended to the +filename+.
|
* will automatically be appended to the +filename+.
|
||||||
*
|
*
|
||||||
* If the file does not exist, a new file will be created using the given
|
* If the file does not exist, a new file will be created using the given
|
||||||
* +mode+, unless +mode+ is explicitly set to nil. In the latter case, no
|
* +mode+, unless +mode+ is explicitly set to nil. In the latter case, no
|
||||||
* database will be created.
|
* database will be created.
|
||||||
*
|
*
|
||||||
* If the file exists, it will be opened in read/write mode. If this fails, it
|
* If the file exists, it will be opened in read/write mode. If this fails, it
|
||||||
* will be opened in read-only mode.
|
* will be opened in read-only mode.
|
||||||
*/
|
*/
|
||||||
static VALUE
|
static VALUE
|
||||||
fsdbm_initialize(int argc, VALUE *argv, VALUE obj)
|
fsdbm_initialize(int argc, VALUE *argv, VALUE obj)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue