<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glibc.git/stdlib, branch hjl/pr17841/master</title>
<subtitle>sourceware.org: git/glibc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/'/>
<entry>
<title>Fix monetary.h comment</title>
<updated>2015-05-27T02:37:07+00:00</updated>
<author>
<name>Marko Myllynen</name>
<email>myllynen@redhat.com</email>
</author>
<published>2015-05-27T02:37:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=d28311a19d7fd09f96c4b5c9a1dbf65b88dc3282'/>
<id>d28311a19d7fd09f96c4b5c9a1dbf65b88dc3282</id>
<content type='text'>
On 2015-05-26 21:24, Siddhesh Poyarekar wrote:
&gt; On Tue, May 26, 2015 at 05:13:07PM +0300, Marko Myllynen wrote:
&gt;&gt; this should be obvious, please commit if looks to be ok.
&gt;&gt;
&gt;&gt; 2015-05-26  Marko Myllynen  &lt;myllynen@redhat.com&gt;
&gt;&gt;
&gt;&gt; 	* stdlib/monetary.h: Fix comment.
&gt;
&gt; Patch didn't apply to master, but I've fixed it up and pushed it.

sorry about that (a whitespace hickup) - but your patch changed the
wrong comment, so here's a new patch to fix the fix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On 2015-05-26 21:24, Siddhesh Poyarekar wrote:
&gt; On Tue, May 26, 2015 at 05:13:07PM +0300, Marko Myllynen wrote:
&gt;&gt; this should be obvious, please commit if looks to be ok.
&gt;&gt;
&gt;&gt; 2015-05-26  Marko Myllynen  &lt;myllynen@redhat.com&gt;
&gt;&gt;
&gt;&gt; 	* stdlib/monetary.h: Fix comment.
&gt;
&gt; Patch didn't apply to master, but I've fixed it up and pushed it.

sorry about that (a whitespace hickup) - but your patch changed the
wrong comment, so here's a new patch to fix the fix.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix monetary.h comment</title>
<updated>2015-05-26T18:08:17+00:00</updated>
<author>
<name>Siddhesh Poyarekar</name>
<email>siddhesh@redhat.com</email>
</author>
<published>2015-05-26T18:08:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=f09b8615418a02357eb8b1fcba88313aebcb53bf'/>
<id>f09b8615418a02357eb8b1fcba88313aebcb53bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix stdlib/tst-setcontext3 with dash [BZ#18418]</title>
<updated>2015-05-17T11:48:08+00:00</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2015-05-15T19:50:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=b40a4e1a7bf7000018a8d1d1ee2f37f5c63e5a42'/>
<id>b40a4e1a7bf7000018a8d1d1ee2f37f5c63e5a42</id>
<content type='text'>
This patch remove the non-portable array usage on tst-setcontext3.sh
script.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch remove the non-portable array usage on tst-setcontext3.sh
script.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove various ABS macros and replace uses with fabs (or in one case abs)</title>
<updated>2015-05-15T11:04:40+00:00</updated>
<author>
<name>Wilco Dijkstra</name>
<email>wdijkstr@arm.com</email>
</author>
<published>2015-05-15T10:53:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=0e9be4db8f655d3dc006c5b101f15a5912a5846f'/>
<id>0e9be4db8f655d3dc006c5b101f15a5912a5846f</id>
<content type='text'>
which is more efficient on all targets.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
which is more efficient on all targets.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 18125: Call exit after last linked context.</title>
<updated>2015-05-08T15:29:38+00:00</updated>
<author>
<name>Carlos O'Donell</name>
<email>carlos@systemhalted.org</email>
</author>
<published>2015-05-08T15:20:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=c92d40c0bcfdeec96848d1e67902e621942144e9'/>
<id>c92d40c0bcfdeec96848d1e67902e621942144e9</id>
<content type='text'>
There appears to be a discrepancy among the implementations
of setcontext with regards to the function called once the last
linked-to context has finished executing via setcontext.

The POSIX standard says:
~~~
If the uc_link member of the ucontext_t structure pointed to by
the ucp argument is equal to 0, then this context is the main
context, and the thread will exit when this context returns.
~~~

It says "exit" not "exit immediately" nor "exit without running
functions registered with atexit or on_exit."

Therefore the AArch64, ARM, hppa and NIOS II implementations are
wrong and no test detects it.

It is questionable if this should even be fixed or just documented
that the above 4 targets are wrong. The functions are deprecated
and nobody should be using them, but at the same time it silly to
have cross-target differences that make it hard to port old
applications from say x86_64 to AArch64.

Therefore I will ix the 4 arches, and checkin a regression
test to prevent it from changing again.

https://sourceware.org/ml/libc-alpha/2015-03/msg00720.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There appears to be a discrepancy among the implementations
of setcontext with regards to the function called once the last
linked-to context has finished executing via setcontext.

The POSIX standard says:
~~~
If the uc_link member of the ucontext_t structure pointed to by
the ucp argument is equal to 0, then this context is the main
context, and the thread will exit when this context returns.
~~~

It says "exit" not "exit immediately" nor "exit without running
functions registered with atexit or on_exit."

Therefore the AArch64, ARM, hppa and NIOS II implementations are
wrong and no test detects it.

It is questionable if this should even be fixed or just documented
that the above 4 targets are wrong. The functions are deprecated
and nobody should be using them, but at the same time it silly to
have cross-target differences that make it hard to port old
applications from say x86_64 to AArch64.

Therefore I will ix the 4 arches, and checkin a regression
test to prevent it from changing again.

https://sourceware.org/ml/libc-alpha/2015-03/msg00720.html
</pre>
</div>
</content>
</entry>
<entry>
<title>Better fix for setenv (..., NULL, ...)</title>
<updated>2015-04-19T08:07:31+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2015-04-19T08:06:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=03c1e456b079929a8290aeb4aadb05c0df73bfd2'/>
<id>03c1e456b079929a8290aeb4aadb05c0df73bfd2</id>
<content type='text'>
* stdlib/setenv.c (__add_to_environ):
Dump core quickly if setenv (..., NULL, ...) is called.
This time, do it the right way, and pacify GCC with a pragma.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* stdlib/setenv.c (__add_to_environ):
Dump core quickly if setenv (..., NULL, ...) is called.
This time, do it the right way, and pacify GCC with a pragma.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix strtof decimal rounding close to half least subnormal (bug 18247).</title>
<updated>2015-04-10T20:45:30+00:00</updated>
<author>
<name>Joseph Myers</name>
<email>joseph@codesourcery.com</email>
</author>
<published>2015-04-10T20:45:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=5556d30caee170384553d2ae3247ec77a66b9ae8'/>
<id>5556d30caee170384553d2ae3247ec77a66b9ae8</id>
<content type='text'>
Bug 18247 is an off-by-one error in strtof's determination of a
decimal exponent such that any value with that decimal exponent is at
most half the least subnormal and so the appropriate underflowing
value for the rounding mode can be determined with no
multiple-precision computations.  (Whether the value is in fact safe
despite the off-by-one depends on the floating-point format in
question.  It's wrong for float and for m68k ldbl-96 but not for other
supported formats.)  This patch corrects the computation of the
exponent in question to be safe in general, adding a comment
explaining the new computation.

Tested for x86_64.

	[BZ #18247]
	* stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
	decimal exponent by 1.
	* stdlib/tst-strtod-round-data: Add more tests.
	* stdlib/tst-strtod-round.c (tests): Regenerated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug 18247 is an off-by-one error in strtof's determination of a
decimal exponent such that any value with that decimal exponent is at
most half the least subnormal and so the appropriate underflowing
value for the rounding mode can be determined with no
multiple-precision computations.  (Whether the value is in fact safe
despite the off-by-one depends on the floating-point format in
question.  It's wrong for float and for m68k ldbl-96 but not for other
supported formats.)  This patch corrects the computation of the
exponent in question to be safe in general, adding a comment
explaining the new computation.

Tested for x86_64.

	[BZ #18247]
	* stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
	decimal exponent by 1.
	* stdlib/tst-strtod-round-data: Add more tests.
	* stdlib/tst-strtod-round.c (tests): Regenerated.
</pre>
</div>
</content>
</entry>
<entry>
<title>* stdlib/setenv.c (__add_to_environ): Revert previous change.</title>
<updated>2015-03-16T00:06:21+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2015-03-16T00:06:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=cb219290492995bb52fba8c21f9f20afe5604721'/>
<id>cb219290492995bb52fba8c21f9f20afe5604721</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* stdlib/setenv.c (__add_to_environ):</title>
<updated>2015-03-13T17:14:03+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2015-03-12T22:57:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=2ecccaede9097f867284d352a881d8f226ba4fb7'/>
<id>2ecccaede9097f867284d352a881d8f226ba4fb7</id>
<content type='text'>
Dump core quickly if setenv (..., NULL, ...) is called.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dump core quickly if setenv (..., NULL, ...) is called.
</pre>
</div>
</content>
</entry>
<entry>
<title>S/390: Fix setcontext/swapcontext which are not restoring sigmask.</title>
<updated>2015-03-12T10:08:11+00:00</updated>
<author>
<name>Stefan Liebler</name>
<email>stli@linux.vnet.ibm.com</email>
</author>
<published>2015-03-12T10:08:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=2e807f29595eb5b1e5d0decc6e356a3562ecc58e'/>
<id>2e807f29595eb5b1e5d0decc6e356a3562ecc58e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
