public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/tilt/files: tilt-1.3.2-thread_id.patch
@ 2011-07-25 18:07 Hans de Graaff (graaff)
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2011-07-25 18:07 UTC (permalink / raw
  To: gentoo-commits

graaff      11/07/25 18:07:28

  Added:                tilt-1.3.2-thread_id.patch
  Log:
  Fix bug with negative object ids, fixes bug 376177.
  
  (Portage version: 2.1.10.3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-ruby/tilt/files/tilt-1.3.2-thread_id.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tilt/files/tilt-1.3.2-thread_id.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tilt/files/tilt-1.3.2-thread_id.patch?rev=1.1&content-type=text/plain

Index: tilt-1.3.2-thread_id.patch
===================================================================
commit a07077f4737754757e99c2d42267f432289ffd13
Author: Magnus Holm <judofyr@gmail.com>
Date:   Fri Jun 24 10:43:55 2011 +0200

    Fix compilesite test for multiple threads (closes #93)

diff --git a/test/tilt_compilesite_test.rb b/test/tilt_compilesite_test.rb
index 1ba6433..2944c84 100644
--- a/test/tilt_compilesite_test.rb
+++ b/test/tilt_compilesite_test.rb
@@ -39,7 +39,7 @@ class CompileSiteTest < Test::Unit::TestCase
               locals = { "local#{i}" => 'value' }
               res = template.render(self, locals)
               thread_id = Thread.current.object_id
-              res = template.render(self, "local#{thread_id.to_s}" => 'value')
+              res = template.render(self, "local#{thread_id.abs.to_s}" => 'value')
             rescue => boom
               main_thread.raise(boom)
             end






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-ruby/tilt/files: tilt-1.3.2-thread_id.patch
@ 2014-11-18 13:35 Manuel Rueger (mrueg)
  0 siblings, 0 replies; 2+ messages in thread
From: Manuel Rueger (mrueg) @ 2014-11-18 13:35 UTC (permalink / raw
  To: gentoo-commits

mrueg       14/11/18 13:35:58

  Removed:              tilt-1.3.2-thread_id.patch
  Log:
  Cleanup unused patches.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key )


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-18 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-25 18:07 [gentoo-commits] gentoo-x86 commit in dev-ruby/tilt/files: tilt-1.3.2-thread_id.patch Hans de Graaff (graaff)
  -- strict thread matches above, loose matches on Subject: below --
2014-11-18 13:35 Manuel Rueger (mrueg)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox