commit yast2-ruby-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-ruby-bindings for openSUSE:Factory checked in at 2014-04-26 11:45:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-ruby-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-ruby-bindings.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-ruby-bindings" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-ruby-bindings/yast2-ruby-bindings.changes 2014-03-21 12:14:08.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-ruby-bindings.new/yast2-ruby-bindings.changes 2014-04-26 11:45:13.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Apr 22 09:31:18 UTC 2014 - jreidinger@suse.com + +- Fix hang out of YaST2 in Turkish locale(bnc#852242) +- 3.1.16 + +------------------------------------------------------------------- Old: ---- yast2-ruby-bindings-3.1.15.tar.bz2 New: ---- yast2-ruby-bindings-3.1.16.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-ruby-bindings.spec ++++++ --- /var/tmp/diff_new_pack.rW18w5/_old 2014-04-26 11:45:15.000000000 +0200 +++ /var/tmp/diff_new_pack.rW18w5/_new 2014-04-26 11:45:15.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-ruby-bindings -Version: 3.1.15 +Version: 3.1.16 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-ruby-bindings-%{version}.tar.bz2 ++++++ yast2-ruby-bindings-3.1.15.tar.bz2 -> yast2-ruby-bindings-3.1.16.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-3.1.15/package/yast2-ruby-bindings.changes new/yast2-ruby-bindings-3.1.16/package/yast2-ruby-bindings.changes --- old/yast2-ruby-bindings-3.1.15/package/yast2-ruby-bindings.changes 2014-03-14 20:50:36.000000000 +0100 +++ new/yast2-ruby-bindings-3.1.16/package/yast2-ruby-bindings.changes 2014-04-22 14:36:42.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Apr 22 09:31:18 UTC 2014 - jreidinger@suse.com + +- Fix hang out of YaST2 in Turkish locale(bnc#852242) +- 3.1.16 + +------------------------------------------------------------------- Fri Mar 14 15:33:30 UTC 2014 - mvidner@suse.com - Show the caller in the Internal error popup. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-3.1.15/package/yast2-ruby-bindings.spec new/yast2-ruby-bindings-3.1.16/package/yast2-ruby-bindings.spec --- old/yast2-ruby-bindings-3.1.15/package/yast2-ruby-bindings.spec 2014-03-14 20:50:36.000000000 +0100 +++ new/yast2-ruby-bindings-3.1.16/package/yast2-ruby-bindings.spec 2014-04-22 14:36:42.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-ruby-bindings -Version: 3.1.15 +Version: 3.1.16 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-ruby-bindings-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-3.1.15/src/binary/Y2RubyComponent.cc new/yast2-ruby-bindings-3.1.16/src/binary/Y2RubyComponent.cc --- old/yast2-ruby-bindings-3.1.15/src/binary/Y2RubyComponent.cc 2014-03-14 20:50:36.000000000 +0100 +++ new/yast2-ruby-bindings-3.1.16/src/binary/Y2RubyComponent.cc 2014-04-22 14:36:42.000000000 +0200 @@ -94,6 +94,9 @@ size_t size = res.size(); if (size==0) return res; + // convert always in C locale (bnc#852242) + char *old_locale = strdup(setlocale(LC_ALL, NULL)); + setlocale(LC_ALL, "C"); res[0] = tolower(res[0]); //first character and first char after :: is lowercase without underscore for(size_t i = res.find("::"); i!= string::npos; i = res.find("::",i+1)) @@ -111,5 +114,7 @@ res.replace(i,1,tmp); //replace upper by _lower } } + setlocale(LC_ALL, old_locale); + free(old_locale); return res; } -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de