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

ruby-changes:41523

From: headius <ko1@a...>
Date: Wed, 20 Jan 2016 03:43:26 +0900 (JST)
Subject: [ruby-changes:41523] headius:r53597 (ruby_2_3): file.c: fix documentation

headius	2016-01-20 03:44:06 +0900 (Wed, 20 Jan 2016)

  New Revision: 53597

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53597

  Log:
    file.c: fix documentation
    
    * file.c: mode is optional, defaults to 0666.

  Modified files:
    branches/ruby_2_3/file.c
Index: ruby_2_3/file.c
===================================================================
--- ruby_2_3/file.c	(revision 53596)
+++ ruby_2_3/file.c	(revision 53597)
@@ -5489,7 +5489,7 @@ rb_stat_sticky(VALUE obj) https://github.com/ruby/ruby/blob/trunk/ruby_2_3/file.c#L5489
 
 /*
  *  call-seq:
- *     File.mkfifo(file_name, mode)  => 0
+ *     File.mkfifo(file_name, mode=0666)  => 0
  *
  *  Creates a FIFO special file with name _file_name_.  _mode_
  *  specifies the FIFO's permissions. It is modified by the process's

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

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