<feed xmlns='http://www.w3.org/2005/Atom'>
<title>drakx/perl-install/standalone.pm, branch 18.71</title>
<subtitle>Mageia Installer and base platform for many utilities</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/'/>
<entry>
<title>Use POSIX::setlocale() instead of c::setlocale().</title>
<updated>2025-11-02T18:20:25+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2025-11-02T12:50:05+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=b518f9f16b0fc09802d238eef91de41ed54de282'/>
<id>b518f9f16b0fc09802d238eef91de41ed54de282</id>
<content type='text'>
Since Perl 5.28, Perl has used the thread-safe uselocale() functions
from the C standard library when setting the locale. Once a thread-safe
locale setting has been made, the Locale::gettext functions will use
those settings, not the global locale settings. So calling the drakx
c::setlocale() and c::init_setlocale() functions, which still use the
underlying setlocale() function from the C standard library normally
has no effect. However, prior to Perl 5.38, there was a bug in Perl
that could cause the main thread to revert to using the global locale
settings, and it it would seem this bug was being triggered by the
stage2 installer, meaning it still properly translated the UI after
the language selection step. Now we have a newer version of Perl, this
is no longer so, and the UI contiues to be in English after the user
has selected a different language (mga#34656).

The POSIX::setlocale() function affects the thread-safe locale, so can
be used to fix this bug.

This patch removes the c::setlocale() function to prevent reintroduction
of this bug, and moves the c::init_locale() function to the common module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since Perl 5.28, Perl has used the thread-safe uselocale() functions
from the C standard library when setting the locale. Once a thread-safe
locale setting has been made, the Locale::gettext functions will use
those settings, not the global locale settings. So calling the drakx
c::setlocale() and c::init_setlocale() functions, which still use the
underlying setlocale() function from the C standard library normally
has no effect. However, prior to Perl 5.38, there was a bug in Perl
that could cause the main thread to revert to using the global locale
settings, and it it would seem this bug was being triggered by the
stage2 installer, meaning it still properly translated the UI after
the language selection step. Now we have a newer version of Perl, this
is no longer so, and the UI contiues to be in English after the user
has selected a different language (mga#34656).

The POSIX::setlocale() function affects the thread-safe locale, so can
be used to fix this bug.

This patch removes the c::setlocale() function to prevent reintroduction
of this bug, and moves the c::init_locale() function to the common module.
</pre>
</div>
</content>
</entry>
<entry>
<title>move comment where it belongs</title>
<updated>2014-11-25T06:42:58+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2014-11-25T06:42:58+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=d014e2e027b32a3aa1061068a5973483fa353e0a'/>
<id>d014e2e027b32a3aa1061068a5973483fa353e0a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>split drakbug stuff in its own module (mga#14565)</title>
<updated>2014-11-25T06:40:38+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2014-11-25T06:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=3933655d73e13c0c4f3e304d80a6da86bce5d903'/>
<id>3933655d73e13c0c4f3e304d80a6da86bce5d903</id>
<content type='text'>
rationale: @ARGV handling in standalone breaks gurpmi --auto
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rationale: @ARGV handling in standalone breaks gurpmi --auto
</pre>
</div>
</content>
</entry>
<entry>
<title>kill $Id:$ tags</title>
<updated>2014-06-07T06:29:16+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2014-06-07T06:23:23+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=9df2d51e71e3676d7c8d0d86dac8259e9aa5ae5e'/>
<id>9df2d51e71e3676d7c8d0d86dac8259e9aa5ae5e</id>
<content type='text'>
they're obsolete since switching from CVS/SVN to git...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
they're obsolete since switching from CVS/SVN to git...
</pre>
</div>
</content>
</entry>
<entry>
<title>display mga copyright too (mga#10289)</title>
<updated>2014-01-07T20:57:47+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2014-01-07T12:13:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=264e9201b28e330594b581ce1649b744c8c10036'/>
<id>264e9201b28e330594b581ce1649b744c8c10036</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>declare exit as a function, to allow to override synonymous builtin</title>
<updated>2012-09-22T10:35:55+00:00</updated>
<author>
<name>Guillaume Rousse</name>
<email>guillomovitch@mageia.org</email>
</author>
<published>2012-09-22T10:35:55+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=35a4a59ef8798ba49d614c5591e27ceed639c0fb'/>
<id>35a4a59ef8798ba49d614c5591e27ceed639c0fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>no need to test for a potential match before substituting</title>
<updated>2012-09-12T11:53:46+00:00</updated>
<author>
<name>Guillaume Rousse</name>
<email>guillomovitch@mageia.org</email>
</author>
<published>2012-09-12T11:53:46+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=0e53eb203dbe67028eaf20739442475bd83c8bb1'/>
<id>0e53eb203dbe67028eaf20739442475bd83c8bb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use perl syntax, not sed one</title>
<updated>2012-09-12T11:50:33+00:00</updated>
<author>
<name>Guillaume Rousse</name>
<email>guillomovitch@mageia.org</email>
</author>
<published>2012-09-12T11:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=c37a8be3332c791f13d250a33b4dd88c5a534600'/>
<id>c37a8be3332c791f13d250a33b4dd88c5a534600</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>perl_checker cleanups</title>
<updated>2012-03-23T19:50:35+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>tv@mageia.org</email>
</author>
<published>2012-03-23T19:50:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=f4bc86bc94aeeeffb8a82b16b38b760590b80bdf'/>
<id>f4bc86bc94aeeeffb8a82b16b38b760590b80bdf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>(bug_handler) do not keep around the segfaulted process once we</title>
<updated>2011-11-22T21:52:48+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>tv@mageia.org</email>
</author>
<published>2011-11-22T21:52:48+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=a458c52cdacc9411c8187e33aeed000678a61cfc'/>
<id>a458c52cdacc9411c8187e33aeed000678a61cfc</id>
<content type='text'>
collected all needed data when running drakbug

this eats memory for nothing
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
collected all needed data when running drakbug

this eats memory for nothing
</pre>
</div>
</content>
</entry>
</feed>
