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

ruby-changes:15549

From: nobu <ko1@a...>
Date: Fri, 23 Apr 2010 09:14:20 +0900 (JST)
Subject: [ruby-changes:15549] Ruby:r27452 (trunk): * ruby.c (PREFIX_PATH): use RUBY_RELATIVE macro.

nobu	2010-04-23 09:14:00 +0900 (Fri, 23 Apr 2010)

  New Revision: 27452

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

  Log:
    * ruby.c (PREFIX_PATH): use RUBY_RELATIVE macro.

  Modified files:
    trunk/ruby.c

Index: ruby.c
===================================================================
--- ruby.c	(revision 27451)
+++ ruby.c	(revision 27452)
@@ -432,7 +432,7 @@
 #else
     static const char exec_prefix[] = RUBY_EXEC_PREFIX;
 #define RUBY_RELATIVE(path, len) rubylib_mangled_path(path, len)
-#define PREFIX_PATH() rubylib_mangled_path(exec_prefix, sizeof(exec_prefix)-1)
+#define PREFIX_PATH() RUBY_RELATIVE(exec_prefix, sizeof(exec_prefix)-1)
 #endif
     load_path = GET_VM()->load_path;
 

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

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