<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glibc.git/include, 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>Localplt testing for vector math library and libmvec_hidden_* macro series.</title>
<updated>2015-05-25T18:20:20+00:00</updated>
<author>
<name>Andrew Senkevich</name>
<email>andrew.senkevich@intel.com</email>
</author>
<published>2015-05-25T18:20:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=829a679fac1fe173e81cb2c08204d2da86cf3f3a'/>
<id>829a679fac1fe173e81cb2c08204d2da86cf3f3a</id>
<content type='text'>
    * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
    * include/libc-symbols.h: libmvec_hidden_* macro series added.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
    * include/libc-symbols.h: libmvec_hidden_* macro series added.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix pathconf basename namespace (bug 18444).</title>
<updated>2015-05-22T17:09:36+00:00</updated>
<author>
<name>Joseph Myers</name>
<email>joseph@codesourcery.com</email>
</author>
<published>2015-05-22T17:09:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=cf06a4e3579d834c3330184c4ff127c98bc00fcc'/>
<id>cf06a4e3579d834c3330184c4ff127c98bc00fcc</id>
<content type='text'>
pathconf (sysdeps/unix/sysv/linux/pathconf.c) uses basename.  But
pathconf is in POSIX back to 1990 while basename is only reserved with
external linkage in those standards including XPG functions.  This
patch fixes this namespace issue in the usual way, renaming basename
to __basename and making it into a weak alias.

Tested for x86_64 and x86 (testsuite, and that disassembly of
installed shared libraries is unchanged by the patch).

	[BZ #18444]
	* string/basename.c (basename): Rename to __basename and define as
	weak alias of __basename.  Use libc_hidden_weak.
	* include/string.h (__basename): Declare.  Use libc_hidden_proto.
	* sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
	__basename instead of basename.
	* conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
	Remove variable.
	(test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pathconf (sysdeps/unix/sysv/linux/pathconf.c) uses basename.  But
pathconf is in POSIX back to 1990 while basename is only reserved with
external linkage in those standards including XPG functions.  This
patch fixes this namespace issue in the usual way, renaming basename
to __basename and making it into a weak alias.

Tested for x86_64 and x86 (testsuite, and that disassembly of
installed shared libraries is unchanged by the patch).

	[BZ #18444]
	* string/basename.c (basename): Rename to __basename and define as
	weak alias of __basename.  Use libc_hidden_weak.
	* include/string.h (__basename): Declare.  Use libc_hidden_proto.
	* sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
	__basename instead of basename.
	* conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
	Remove variable.
	(test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure `wint_t' is defined before use in include/stdio.h</title>
<updated>2015-05-18T06:58:06+00:00</updated>
<author>
<name>Arjun Shankar</name>
<email>arjun.is@lostca.se</email>
</author>
<published>2015-05-18T06:58:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=330fadfc62498041c838cba3a0413bb9c715b73f'/>
<id>330fadfc62498041c838cba3a0413bb9c715b73f</id>
<content type='text'>
While trying to get nptl/tst-initializers1.c to include the test skeleton, I
came across a couple of speed bumps. Firstly: after making the appropriate
changes to the test, running `make check' led to this error:

&gt; In file included from ../malloc/malloc.h:24:0,
..
&gt;                  from tst-initializers1.c:60:
&gt; ../include/stdio.h:111:1: error: unknown type name `wint_t'
&gt;  extern wint_t __getwc_unlocked (FILE *__fp);

So, `wint_t' is used before being defined. Question: Why did test-skeleton.c
not cause this error in any of the other tests that include it?

Anyway, I noticed include/stdio.h includes stddef.h, which in turn defines
`wint_t', but only if `__need_wint_t' is defined. So I put in a
`#define __need_wint_t' before the include to get rid of the error. Is that
the correct fix?

A subsequent `make &amp;&amp; make check' led to this second error:

&gt;                  from tst-initializers1-c89.c:1:
&gt; ../test-skeleton.c: In function `main':
&gt; ../test-skeleton.c:356:11: error: `for' loop initial declarations are only
&gt;  allowed in C99 mode
&gt;            for (struct temp_name_list *n = temp_name_list;

Although there seem to be several other C89 no-noes in test-skeleton.c, I
needed only to fix this specific one for gcc-4.8.3 to stop complaining.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While trying to get nptl/tst-initializers1.c to include the test skeleton, I
came across a couple of speed bumps. Firstly: after making the appropriate
changes to the test, running `make check' led to this error:

&gt; In file included from ../malloc/malloc.h:24:0,
..
&gt;                  from tst-initializers1.c:60:
&gt; ../include/stdio.h:111:1: error: unknown type name `wint_t'
&gt;  extern wint_t __getwc_unlocked (FILE *__fp);

So, `wint_t' is used before being defined. Question: Why did test-skeleton.c
not cause this error in any of the other tests that include it?

Anyway, I noticed include/stdio.h includes stddef.h, which in turn defines
`wint_t', but only if `__need_wint_t' is defined. So I put in a
`#define __need_wint_t' before the include to get rid of the error. Is that
the correct fix?

A subsequent `make &amp;&amp; make check' led to this second error:

&gt;                  from tst-initializers1-c89.c:1:
&gt; ../test-skeleton.c: In function `main':
&gt; ../test-skeleton.c:356:11: error: `for' loop initial declarations are only
&gt;  allowed in C99 mode
&gt;            for (struct temp_name_list *n = temp_name_list;

Although there seem to be several other C89 no-noes in test-skeleton.c, I
needed only to fix this specific one for gcc-4.8.3 to stop complaining.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor scandir/scandirat to use common tail.</title>
<updated>2015-05-13T19:34:11+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>roland@hack.frob.com</email>
</author>
<published>2015-05-13T19:34:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=d2ee815ad677bba720c4f0275c1d6065f5809e7a'/>
<id>d2ee815ad677bba720c4f0275c1d6065f5809e7a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Break __scandir_cancel_handler out into its own file.</title>
<updated>2015-05-13T19:33:56+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>roland@hack.frob.com</email>
</author>
<published>2015-05-13T19:33:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=83c10893259916152d277327fa37d8f70bb4d4c2'/>
<id>83c10893259916152d277327fa37d8f70bb4d4c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add struct scratch_buffer and its internal helper functions</title>
<updated>2015-04-07T09:03:43+00:00</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2015-04-07T09:03:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=cfcfd4614b8b01b2782ac4dcafb21d14d74d5184'/>
<id>cfcfd4614b8b01b2782ac4dcafb21d14d74d5184</id>
<content type='text'>
These will be used from NSS modules, so they have to be exported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These will be used from NSS modules, so they have to be exported.
</pre>
</div>
</content>
</entry>
<entry>
<title>Define libc_max_align_t for internal use</title>
<updated>2015-04-02T17:55:21+00:00</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2015-04-02T08:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=37d60d970c342b7f21a173a363c8be6558ad6e6e'/>
<id>37d60d970c342b7f21a173a363c8be6558ad6e6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>powerpc: Remove HAVE_ASM_GLOBAL_DOT_NAME define</title>
<updated>2015-03-11T13:01:05+00:00</updated>
<author>
<name>Adhemerval Zanella</name>
<email>azanella@linux.vnet.ibm.com</email>
</author>
<published>2015-02-03T12:41:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=5ca10a0c9ad1edb3b2e2e59ac6dccdd879cf84ae'/>
<id>5ca10a0c9ad1edb3b2e2e59ac6dccdd879cf84ae</id>
<content type='text'>
With AIX port deprecated there is no need to check/define
HAVE_ASM_GLOBAL_DOT_NAME anymore since the current minimum binutils
supported (2.22) does not emit global symbol with dot.

This patch removes all the HAVE_ASM_GLOBAL_DOT_NAME definition and
checks for powerpc64 port.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With AIX port deprecated there is no need to check/define
HAVE_ASM_GLOBAL_DOT_NAME anymore since the current minimum binutils
supported (2.22) does not emit global symbol with dot.

This patch removes all the HAVE_ASM_GLOBAL_DOT_NAME definition and
checks for powerpc64 port.
</pre>
</div>
</content>
</entry>
<entry>
<title>alloca: fix buf interaction</title>
<updated>2015-02-24T18:29:40+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2015-02-24T05:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=ba7d2c543f7d69883ece7eab39bf6c5cd5dc3081'/>
<id>ba7d2c543f7d69883ece7eab39bf6c5cd5dc3081</id>
<content type='text'>
The stack-grows-down case is missing paren around the buf cast.

The stack-grows-up case is missing a cast with the buf assignment.
This leads to build failures due to -Werror:
vfprintf.c: In function '_IO_vfprintf_internal':
vfprintf.c:1738:16: error: initialization from incompatible pointer type [-Werror]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The stack-grows-down case is missing paren around the buf cast.

The stack-grows-up case is missing a cast with the buf assignment.
This leads to build failures due to -Werror:
vfprintf.c: In function '_IO_vfprintf_internal':
vfprintf.c:1738:16: error: initialization from incompatible pointer type [-Werror]
</pre>
</div>
</content>
</entry>
<entry>
<title>Amendments to Unicode 7 update.</title>
<updated>2015-02-23T14:35:24+00:00</updated>
<author>
<name>Alexandre Oliva</name>
<email>aoliva@redhat.com</email>
</author>
<published>2015-02-23T14:22:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=7b1ec6a05ceac76efca999ebab515afc4caaa5e9'/>
<id>7b1ec6a05ceac76efca999ebab515afc4caaa5e9</id>
<content type='text'>
for  ChangeLog

	* include/stdc-predef.h (__STDC_ISO_10646__): Update to
	201304L, for Unicode 7.

for  localedata/ChangeLog

	* unicode-gen/ctype_compatibility.py: Use date ranges in
	copyright notice.
	* unicode-gen/ctype_compatibility_test_cases.py: Likewise.
	* unicode-gen/gen_unicode_ctype.py: Likewise.
	* unicode-gen/utf8_compatibility.py: Likewise.
	* unicode-gen/utf8_gen.py: Likewise.  Use upper case for
	global variables, use tuples for global constant arrays.  From
	Mike FABIAN.  Suggested by Mike Frysinger &lt;vapier@gentoo.org&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for  ChangeLog

	* include/stdc-predef.h (__STDC_ISO_10646__): Update to
	201304L, for Unicode 7.

for  localedata/ChangeLog

	* unicode-gen/ctype_compatibility.py: Use date ranges in
	copyright notice.
	* unicode-gen/ctype_compatibility_test_cases.py: Likewise.
	* unicode-gen/gen_unicode_ctype.py: Likewise.
	* unicode-gen/utf8_compatibility.py: Likewise.
	* unicode-gen/utf8_gen.py: Likewise.  Use upper case for
	global variables, use tuples for global constant arrays.  From
	Mike FABIAN.  Suggested by Mike Frysinger &lt;vapier@gentoo.org&gt;.
</pre>
</div>
</content>
</entry>
</feed>
