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

ruby-changes:40083

From: nobu <ko1@a...>
Date: Sun, 18 Oct 2015 10:30:53 +0900 (JST)
Subject: [ruby-changes:40083] nobu:r52164 (trunk): file.c: fix compile error

nobu	2015-10-18 10:30:47 +0900 (Sun, 18 Oct 2015)

  New Revision: 52164

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

  Log:
    file.c: fix compile error
    
    * file.c (rb_file_s_rename): remove unmatched endif not removed at
      r52161.

  Modified files:
    trunk/file.c
Index: file.c
===================================================================
--- file.c	(revision 52163)
+++ file.c	(revision 52164)
@@ -2887,7 +2887,6 @@ rb_file_s_rename(VALUE klass, VALUE from https://github.com/ruby/ruby/blob/trunk/file.c#L2887
 #if defined DOSISH
 	switch (e) {
 	  case EEXIST:
-#endif
 	    if (chmod(dst, 0666) == 0 &&
 		unlink(dst) == 0 &&
 		rename(src, dst) == 0)

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

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