[Gridflow-cvs] [svn] commit: r3409 - /trunk/base/main.rb

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Apr 2 21:44:57 EDT 2008


Author: matju
Date: Wed Apr  2 21:44:57 2008
New Revision: 3409

Log:
goes with previous commit (format/main.rb is dead)

Modified:
    trunk/base/main.rb

Modified: trunk/base/main.rb
==============================================================================
--- trunk/base/main.rb (original)
+++ trunk/base/main.rb Wed Apr  2 21:44:57 2008
@@ -66,8 +66,6 @@
 	#STDERR.puts died.inspect
 	died.each {|x| subprocesses.delete x }
 end
-
-post "GridFlow #{GridFlow::GF_VERSION} loaded, with Ruby #{RUBY_VERSION}-#{RUBY_RELEASE_DATE}"
 
 def self.parse(m)
 	m = m.gsub(/(\{|\})/," \\1 ").split(/\s+/)
@@ -165,13 +163,6 @@
 	else s end
 end
 
-ENDIAN_BIG,ENDIAN_LITTLE,ENDIAN_SAME,ENDIAN_DIFF = 0,1,2,3
-
-OurByteOrder = case [1].pack("L")
-        when "\0\0\0\1"; ENDIAN_BIG     # Mac, Sun, SiliconGraphics
-        when "\1\0\0\0"; ENDIAN_LITTLE  # Intel
-        else raise "Cannot determine byte order" end
-
 end # module GridFlow
 
 class IO
@@ -195,7 +186,6 @@
 end
 
 require "base/flow_objects.rb"
-require "format/main.rb"
 
 GridFlow::FObject.name_lookup("#to_list")  .add_creator "#export_list"
 GridFlow::FObject.name_lookup("#to_float") .add_creator "#export"



More information about the Gridflow-cvs mailing list