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

ruby-changes:25687

From: zzak <ko1@a...>
Date: Tue, 20 Nov 2012 12:34:26 +0900 (JST)
Subject: [ruby-changes:25687] zzak:r37744 (trunk): * file.c (File::NULL): Document File::NULL constant

zzak	2012-11-20 12:34:15 +0900 (Tue, 20 Nov 2012)

  New Revision: 37744

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

  Log:
    * file.c (File::NULL): Document File::NULL constant
      [ruby-core:49384] [Bug #7365]

  Modified files:
    trunk/ChangeLog
    trunk/file.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37743)
+++ ChangeLog	(revision 37744)
@@ -1,3 +1,8 @@
+Tue Nov 20 12:35:00 2012  Zachary Scott  <zachary@z...>
+
+	* file.c (File::NULL): Document File::NULL constant
+	  [ruby-core:49384] [Bug #7365]
+
 Tue Nov 20 12:05:15 2012  NAKAMURA Usaku  <usa@r...>
 
 	* win32/win32.c (rb_w32_read): Windows 8 fixed one of a bug of console
Index: file.c
===================================================================
--- file.c	(revision 37743)
+++ file.c	(revision 37744)
@@ -5520,6 +5520,10 @@
     rb_file_const("LOCK_UN", INT2FIX(LOCK_UN));
     rb_file_const("LOCK_NB", INT2FIX(LOCK_NB));
 
+    /* Document-const: NULL
+     *
+     * Name of the null device
+     */
     rb_file_const("NULL", rb_obj_freeze(rb_usascii_str_new2(null_device)));
 
     rb_define_method(rb_cFile, "path",  rb_file_path, 0);

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

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