From: <jh...@us...> - 2011-03-10 00:41:16
|
Revision: 263 http://etch.svn.sourceforge.net/etch/?rev=263&view=rev Author: jheiss Date: 2011-03-10 00:41:10 +0000 (Thu, 10 Mar 2011) Log Message: ----------- Update comment associated with tempdir method Modified Paths: -------------- trunk/client/etchclient.rb Modified: trunk/client/etchclient.rb =================================================================== --- trunk/client/etchclient.rb 2011-01-26 00:09:22 UTC (rev 262) +++ trunk/client/etchclient.rb 2011-03-10 00:41:10 UTC (rev 263) @@ -1981,8 +1981,9 @@ requests end - # Haven't found a Ruby method for creating temporary directories, - # so create a temporary file and replace it with a directory. + # Ruby 1.8.7 and later have Dir.mktmpdir, but we support ruby 1.8.5 for + # RHEL/CentOS 5. So this is a basic substitute. + # FIXME: consider "backport" for Dir.mktmpdir def tempdir(file) filebase = File.basename(file) filedir = File.dirname(file) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |