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

ruby-changes:34465

From: nobu <ko1@a...>
Date: Wed, 25 Jun 2014 03:24:31 +0900 (JST)
Subject: [ruby-changes:34465] nobu:r46546 (trunk): hash.c: unused functions on non-Windows

nobu	2014-06-25 03:24:24 +0900 (Wed, 25 Jun 2014)

  New Revision: 46546

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

  Log:
    hash.c: unused functions on non-Windows
    
    * hash.c (invalid_envname, check_envname): not used on platforms
      other than Windows.

  Modified files:
    trunk/hash.c
Index: hash.c
===================================================================
--- hash.c	(revision 46545)
+++ hash.c	(revision 46546)
@@ -2722,9 +2722,7 @@ getenvblocksize() https://github.com/ruby/ruby/blob/trunk/hash.c#L2722
 {
     return (rb_w32_osver() >= 5) ? 32767 : 5120;
 }
-#endif
 
-#if !defined(HAVE_SETENV) || !defined(HAVE_UNSETENV)
 NORETURN(static void invalid_envname(const char *name));
 
 static void

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

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