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

ruby-changes:47327

From: nobu <ko1@a...>
Date: Sat, 29 Jul 2017 21:11:58 +0900 (JST)
Subject: [ruby-changes:47327] nobu:r59443 (trunk): file.c: [DOC] File.mkfifo

nobu	2017-07-29 21:11:51 +0900 (Sat, 29 Jul 2017)

  New Revision: 59443

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

  Log:
    file.c: [DOC] File.mkfifo
    
    * file.c (rb_file_s_mkfifo): enclose rdoc by ifdef so it will be
      generated properly.

  Modified files:
    trunk/file.c
Index: file.c
===================================================================
--- file.c	(revision 59442)
+++ file.c	(revision 59443)
@@ -5551,6 +5551,7 @@ rb_stat_sticky(VALUE obj) https://github.com/ruby/ruby/blob/trunk/file.c#L5551
 #define HAVE_MKFIFO
 #endif
 
+#ifdef HAVE_MKFIFO
 /*
  *  call-seq:
  *     File.mkfifo(file_name, mode=0666)  => 0
@@ -5561,7 +5562,6 @@ rb_stat_sticky(VALUE obj) https://github.com/ruby/ruby/blob/trunk/file.c#L5562
  *  (mode & ~umask).
  */
 
-#ifdef HAVE_MKFIFO
 static VALUE
 rb_file_s_mkfifo(int argc, VALUE *argv)
 {

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

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