Codebase list ruby-debian / debian/0.3.6+nmu1
Imported Debian version 0.3.6+nmu1 Ryan Niebur 12 years ago
2 changed file(s) with 10 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 dpkg-ruby (0.3.6+nmu1) unstable; urgency=high
1
2 * Non-maintainer upload.
3 * Use StringValuePtr instead of the long-deprecated (and removed in ruby
4 1.9.1) STR2CSTR (closes: #593025).
5
6 -- Julien Cristau <jcristau@debian.org> Thu, 26 Aug 2010 17:43:59 +0200
7
08 dpkg-ruby (0.3.6) unstable; urgency=low
19
210 * switch to ruby 1.9.1 (Closes: #565848)
55 extern "C" {
66
77 static VALUE cmp_version(VALUE self, VALUE anObject, VALUE cmpType, VALUE anOtherObject) {
8 int res = debVS.CmpVersion(STR2CSTR(anObject),STR2CSTR(anOtherObject));
9 char * cmp = STR2CSTR(cmpType);
8 int res = debVS.CmpVersion(StringValuePtr(anObject),StringValuePtr(anOtherObject));
9 char * cmp = StringValuePtr(cmpType);
1010 if(!strcmp(cmp, "lt") || !strcmp(cmp, "<") || !strcmp(cmp, "<<")) {
1111 if(res < 0)
1212 return Qtrue;