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

« back to all changes in this revision

Viewing changes to debian/patches/142_wrong_id_check.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/object.c 18 Sep 2006 15:42:56 -0000      1.134.2.42
2
 
+++ ruby-1.8.5/object.c 12 Oct 2006 15:35:50 -0000      1.134.2.43
3
 
@@ -2052,7 +2052,7 @@
4
 
     ID id = rb_to_id(iv);
5
 
 
6
 
     if (!rb_is_class_id(id)) {
7
 
-       rb_name_error(id, "`%s' is not allowed as an class variable name", rb_id2name(id));
8
 
+       rb_name_error(id, "`%s' is not allowed as a class variable name", rb_id2name(id));
9
 
     }
10
 
     return rb_cvar_get(obj, id);
11
 
 }
12
 
@@ -2085,7 +2085,7 @@
13
 
     ID id = rb_to_id(iv);
14
 
 
15
 
     if (!rb_is_class_id(id)) {
16
 
-       rb_name_error(id, "`%s' is not allowed as an class variable name", rb_id2name(id));
17
 
+       rb_name_error(id, "`%s' is not allowed as a class variable name", rb_id2name(id));
18
 
     }
19
 
     rb_cvar_set(obj, id, val, Qfalse);
20
 
     return val;