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

ruby-changes:10344

From: nobu <ko1@a...>
Date: Fri, 30 Jan 2009 12:57:48 +0900 (JST)
Subject: [ruby-changes:10344] Ruby:r21888 (trunk): * cygwin/GNUmakefile.in (RUBYDEF): adds DATA to non-function symbols

nobu	2009-01-30 12:57:31 +0900 (Fri, 30 Jan 2009)

  New Revision: 21888

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

  Log:
    * cygwin/GNUmakefile.in (RUBYDEF): adds DATA to non-function symbols
      which is not marked as T.

  Modified files:
    trunk/ChangeLog
    trunk/cygwin/GNUmakefile.in

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21887)
+++ ChangeLog	(revision 21888)
@@ -1,3 +1,8 @@
+Fri Jan 30 12:57:28 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* cygwin/GNUmakefile.in (RUBYDEF): adds DATA to non-function symbols
+	  which is not marked as T.
+
 Fri Jan 30 11:03:31 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* lib/test/unit/assertions.rb (assert_respond_to): gets rid of
Index: cygwin/GNUmakefile.in
===================================================================
--- cygwin/GNUmakefile.in	(revision 21887)
+++ cygwin/GNUmakefile.in	(revision 21888)
@@ -71,7 +71,7 @@
 ifeq (@target_os@,cygwin)
 	@NM@ --extern --defined $(LIBRUBY_A) | \
 	  $(MINIRUBY) -n -e 'BEGIN{puts "VERSION $(MAJOR).$(MINOR)","EXPORTS"}' \
-			 -e 'if / (?:(T)|[A-Z]) _((?!Init_).*)$$/; puts "#{$$2}#{" DATA" if $$1}"; end' > $@
+			 -e 'if / (?:(T)|[A-Z]) _((?!Init_).*)$$/; puts "#{$$2}#{" DATA" if !$$1}"; end' > $@
 else
 	$(MINIRUBY) $(srcdir)/win32/mkexports.rb -output=$@ $(LIBRUBY_A)
 endif

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

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