Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* file.c (File::NULL): Document File::NULL constant

  [ruby-core:49384] [Bug #7365]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit ca8f327522fa9672ef4f569c71063112308099fa 1 parent 0c3d967
Zachary Scott zzak authored
Showing with 9 additions and 0 deletions.
  1. +5 −0 ChangeLog
  2. +4 −0 file.c
5 ChangeLog
View
@@ -1,3 +1,8 @@
+Tue Nov 20 12:35:00 2012 Zachary Scott <zachary@zacharyscott.net>
+
+ * file.c (File::NULL): Document File::NULL constant
+ [ruby-core:49384] [Bug #7365]
+
Tue Nov 20 12:05:15 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (rb_w32_read): Windows 8 fixed one of a bug of console
4 file.c
View
@@ -5520,6 +5520,10 @@ Init_File(void)
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);
Please sign in to comment.
Something went wrong with that request. Please try again.