[前][次][番号順一覧][スレッド一覧]

ruby-changes:28268

From: zzak <ko1@a...>
Date: Tue, 16 Apr 2013 12:28:27 +0900 (JST)
Subject: [ruby-changes:28268] zzak:r40320 (trunk): * ext/sdbm/init.c: Fix comment indentation, by windwiny [Fixes GH-277]

zzak	2013-04-16 12:28:19 +0900 (Tue, 16 Apr 2013)

  New Revision: 40320

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

  Log:
    * ext/sdbm/init.c: Fix comment indentation, by windwiny [Fixes GH-277]

  Modified files:
    trunk/ChangeLog
    trunk/ext/sdbm/init.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40319)
+++ ChangeLog	(revision 40320)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Apr 16 12:27:00 2013  Zachary Scott  <zachary@z...>
+
+	* ext/sdbm/init.c: Fix comment indentation, by windwiny [Fixes GH-277]
+
 Tue Apr 16 12:25:00 2013  Zachary Scott  <zachary@z...>
 
 	* ext/socket/option.c: Document synonymous methods, by windwiny [GH-277]
Index: ext/sdbm/init.c
===================================================================
--- ext/sdbm/init.c	(revision 40319)
+++ ext/sdbm/init.c	(revision 40320)
@@ -117,11 +117,11 @@ fsdbm_close(VALUE obj) https://github.com/ruby/ruby/blob/trunk/ext/sdbm/init.c#L117
 }
 
 /*
-* call-seq:
-*   sdbm.closed? -> true or false
-*
-* Returns +true+ if the database is closed.
-*/
+ * call-seq:
+ *   sdbm.closed? -> true or false
+ *
+ * Returns +true+ if the database is closed.
+ */
 static VALUE
 fsdbm_closed(VALUE obj)
 {
@@ -142,20 +142,20 @@ fsdbm_alloc(VALUE klass) https://github.com/ruby/ruby/blob/trunk/ext/sdbm/init.c#L142
     return Data_Wrap_Struct(klass, 0, free_sdbm, 0);
 }
 /*
-* call-seq:
-*   SDBM.new(filename, mode = 0666)
-*
-* Creates a new database handle by opening the given +filename+. SDBM actually
-* uses two physical files, with extensions '.dir' and '.pag'. These extensions
-* will automatically be appended to the +filename+.
-*
-* 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
-* database will be created.
-*
-* If the file exists, it will be opened in read/write mode. If this fails, it
-* will be opened in read-only mode.
-*/
+ * call-seq:
+ *   SDBM.new(filename, mode = 0666)
+ *
+ * Creates a new database handle by opening the given +filename+. SDBM actually
+ * uses two physical files, with extensions '.dir' and '.pag'. These extensions
+ * will automatically be appended to the +filename+.
+ *
+ * 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
+ * database will be created.
+ *
+ * If the file exists, it will be opened in read/write mode. If this fails, it
+ * will be opened in read-only mode.
+ */
 static VALUE
 fsdbm_initialize(int argc, VALUE *argv, VALUE obj)
 {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]