~ubuntu-branches/ubuntu/hardy/ruby1.8/hardy-updates

« back to all changes in this revision

Viewing changes to debian/patches/157_eval_iter_pre.patch

  • Committer: Bazaar Package Importer
  • Author(s): akira yamada
  • Date: 2007-03-13 22:11:58 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070313221158-h3oql37brlaf2go2
Tags: 1.8.6-1
* new upstream version, 1.8.6.
* libruby1.8 conflicts with libopenssl-ruby1.8 (< 1.8.6) (closes: #410018)
* changed packaging style to cdbs from dbs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- ruby-1.8.5/eval.c:1.616.2.197       Wed Nov  1 01:10:22 2006
2
 
+++ ruby-1.8.5/eval.c   Thu Nov  9 03:17:46 2006
3
 
@@ -2262,7 +2262,7 @@
4
 
     int tmp_iter = ruby_iter->iter;\
5
 
     switch (tmp_iter) {\
6
 
       case ITER_PRE:\
7
 
-       ruby_block = ruby_block->outer;\
8
 
+       if (ruby_block) ruby_block = ruby_block->outer;\
9
 
       case ITER_PAS:\
10
 
        tmp_iter = ITER_NOT;\
11
 
     }\