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

ruby-changes:24006

From: nobu <ko1@a...>
Date: Wed, 13 Jun 2012 16:38:16 +0900 (JST)
Subject: [ruby-changes:24006] nobu:r36057 (trunk): process.c: suppress warning

nobu	2012-06-13 16:38:06 +0900 (Wed, 13 Jun 2012)

  New Revision: 36057

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

  Log:
    process.c: suppress warning
    
    * process.c (compare_posix_sh): not used on Win32.

  Modified files:
    trunk/process.c

Index: process.c
===================================================================
--- process.c	(revision 36056)
+++ process.c	(revision 36057)
@@ -1826,6 +1826,7 @@
     return prog;
 }
 
+#ifndef _WIN32
 struct string_part {
     const char *ptr;
     size_t len;
@@ -1839,6 +1840,7 @@
     if (!ret && ((const char *)el)[word->len]) ret = -1;
     return ret;
 }
+#endif
 
 static void
 rb_exec_fillarg(VALUE prog, int argc, VALUE *argv, VALUE env, VALUE opthash, struct rb_exec_arg *e)

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

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