<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gnulib.git/modules/xalloc, branch python</title>
<subtitle>git.savannah.gnu.org: git/gnulib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnulib.git/'/>
<entry>
<title>xalloc: x2nrealloc check for ptrdiff_t overflow</title>
<updated>2016-12-29T09:17:24+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2016-12-29T09:16:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnulib.git/commit/?id=8e63aebd5d3e398a986dcc5cfaaa5409bca30d12'/>
<id>8e63aebd5d3e398a986dcc5cfaaa5409bca30d12</id>
<content type='text'>
* lib/xalloc.h (x2nrealloc): Check for ptrdiff_t overflow, too.
* modules/xalloc, modules/xvasprintf (Depends-on): Add stdint.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib/xalloc.h (x2nrealloc): Check for ptrdiff_t overflow, too.
* modules/xalloc, modules/xvasprintf (Depends-on): Add stdint.
</pre>
</div>
</content>
</entry>
<entry>
<title>xalloc: better 'inline'</title>
<updated>2012-11-30T07:38:52+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2012-11-21T06:25:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnulib.git/commit/?id=e76d7f2cbc2cd785d0c5dc5085ba9e41ab4720b9'/>
<id>e76d7f2cbc2cd785d0c5dc5085ba9e41ab4720b9</id>
<content type='text'>
* lib/xmalloc.c, lib/xalloc.h (XALLOC_INLINE):
New macro.  Replace all uses of 'static inline' with it.
(static_inline): Remove.
* lib/xalloc.h (xnmalloc, xnrealloc, x2nrealloc, xcharalloc):
Let 'extern inline' do the work automatically, instead of doing
it by hand.
* m4/xalloc.m4 (gl_PREREQ_XALLOC, gl_PREREQ_XMALLOC):
Remove.  All uses removed.
* modules/xalloc (Depends-on): Remove 'inline'.  Add 'extern-inline'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib/xmalloc.c, lib/xalloc.h (XALLOC_INLINE):
New macro.  Replace all uses of 'static inline' with it.
(static_inline): Remove.
* lib/xalloc.h (xnmalloc, xnrealloc, x2nrealloc, xcharalloc):
Let 'extern inline' do the work automatically, instead of doing
it by hand.
* m4/xalloc.m4 (gl_PREREQ_XALLOC, gl_PREREQ_XMALLOC):
Remove.  All uses removed.
* modules/xalloc (Depends-on): Remove 'inline'.  Add 'extern-inline'.
</pre>
</div>
</content>
</entry>
<entry>
<title>stdnoreturn, stdnoreturn-tests: remove modules</title>
<updated>2011-07-12T08:16:08+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2011-07-12T08:16:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnulib.git/commit/?id=4b69a607a11db64d663d264aa53292b2314f7152'/>
<id>4b69a607a11db64d663d264aa53292b2314f7152</id>
<content type='text'>
They're not needed here and a bit premature for use elsewhere.  See
&lt;http://lists.gnu.org/archive/html/bug-gnulib/2011-07/msg00209.html&gt;.
* m4/stdnoreturn.m4, modules/stdnoreturn, modules/stdnoreturn-tests:
* tests/test-stdnoreturn.c: Remove files.
* MODULES.html.sh (_Noreturn &lt;stdnoreturn.h&gt;): Remove section.
* lib/openat.h, lib/sigpipe-die.h, lib/xalloc.h, lib/xmemdup0.h:
* lib/xstrtol.h: Use _Noreturn rather than including &lt;stdnoreturn.h&gt;
and using noreturn.
* modules/openat, modules/sigpipe-die, modules/xalloc:
* modules/xmemdup0, modules/xstrtol:
Remove dependency on stdnoreturn.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They're not needed here and a bit premature for use elsewhere.  See
&lt;http://lists.gnu.org/archive/html/bug-gnulib/2011-07/msg00209.html&gt;.
* m4/stdnoreturn.m4, modules/stdnoreturn, modules/stdnoreturn-tests:
* tests/test-stdnoreturn.c: Remove files.
* MODULES.html.sh (_Noreturn &lt;stdnoreturn.h&gt;): Remove section.
* lib/openat.h, lib/sigpipe-die.h, lib/xalloc.h, lib/xmemdup0.h:
* lib/xstrtol.h: Use _Noreturn rather than including &lt;stdnoreturn.h&gt;
and using noreturn.
* modules/openat, modules/sigpipe-die, modules/xalloc:
* modules/xmemdup0, modules/xstrtol:
Remove dependency on stdnoreturn.
</pre>
</div>
</content>
</entry>
<entry>
<title>xalloc: use stdnoreturn.h</title>
<updated>2011-07-12T08:11:41+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2011-07-12T08:11:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnulib.git/commit/?id=a046525c54d375ff2b3d9d0f8c78f5c779ce4f99'/>
<id>a046525c54d375ff2b3d9d0f8c78f5c779ce4f99</id>
<content type='text'>
* lib/xalloc.h: Include &lt;stdnoreturn.h&gt;.
(_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn.
* modules/xalloc (Depends-on): Add stdnoreturn.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib/xalloc.h: Include &lt;stdnoreturn.h&gt;.
(_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn.
* modules/xalloc (Depends-on): Add stdnoreturn.
</pre>
</div>
</content>
</entry>
<entry>
<title>xalloc: Move AC_LIBOBJ invocations to module description.</title>
<updated>2011-06-15T22:07:43+00:00</updated>
<author>
<name>Bruno Haible</name>
<email>bruno@clisp.org</email>
</author>
<published>2011-05-24T00:27:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnulib.git/commit/?id=f58654006e21cd5715e98d734a96e7b2ea31a7de'/>
<id>f58654006e21cd5715e98d734a96e7b2ea31a7de</id>
<content type='text'>
* m4/xalloc.m4 (gl_XALLOC): Remove AC_LIBOBJ invocation.
* modules/xalloc (Makefile.am): Augment lib_SOURCES.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* m4/xalloc.m4 (gl_XALLOC): Remove AC_LIBOBJ invocation.
* modules/xalloc (Makefile.am): Augment lib_SOURCES.
</pre>
</div>
</content>
</entry>
<entry>
<title>xalloc-oversized: new module</title>
<updated>2011-04-28T20:21:25+00:00</updated>
<author>
<name>Eric Blake</name>
<email>eblake@redhat.com</email>
</author>
<published>2011-04-27T21:54:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnulib.git/commit/?id=bf18c9b4d8ab7f7e8db272594b5d2c8a8dd06b64'/>
<id>bf18c9b4d8ab7f7e8db272594b5d2c8a8dd06b64</id>
<content type='text'>
Due to inline functions, mere inclusion of xalloc.h can result
in a link dependency on xalloc_die() on some platforms.  However,
there are several modules that want to use just xalloc_oversized
in order to short-circuit the potential to call xalloc_die.
Splitting the macro into a new header and module makes this easy.

* modules/xalloc-oversized: New module.
* modules/xalloc (Depends-on): Add it.
* lib/xalloc.h (xalloc_oversized): Move...
* lib/xalloc-oversized.h: ...into new file.

Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to inline functions, mere inclusion of xalloc.h can result
in a link dependency on xalloc_die() on some platforms.  However,
there are several modules that want to use just xalloc_oversized
in order to short-circuit the potential to call xalloc_die.
Splitting the macro into a new header and module makes this easy.

* modules/xalloc-oversized: New module.
* modules/xalloc (Depends-on): Add it.
* lib/xalloc.h (xalloc_oversized): Move...
* lib/xalloc-oversized.h: ...into new file.

Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>* modules/inline: New file/module.</title>
<updated>2006-11-10T11:00:52+00:00</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-11-10T11:00:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnulib.git/commit/?id=ba700afa42d9f358e78a717d3430883280b048a7'/>
<id>ba700afa42d9f358e78a717d3430883280b048a7</id>
<content type='text'>
* modules/xalloc (Files): Remove m4/inline.m4.
(Depends-on): Add inline, instead.
* modules/oset: Likewise.
* modules/list: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* modules/xalloc (Files): Remove m4/inline.m4.
(Depends-on): Add inline, instead.
* modules/oset: Likewise.
* modules/list: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>* lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): Move</title>
<updated>2006-11-08T00:22:30+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-11-08T00:22:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnulib.git/commit/?id=8cdbf8e55b8aaad2b6f69893f4491b509eecc5df'/>
<id>8cdbf8e55b8aaad2b6f69893f4491b509eecc5df</id>
<content type='text'>
definitions up, to avoid colliding with change below.
(static_inline) [HAVE_INLINE]: New macro.
(xnmalloc, xnrealloc, x2nrealloc, xcharalloc):
Provide extern decls when !HAVE_INLINE.  Do not define unless
static_inline is defined, either by us or by xmalloc.c.  Use
static_inline rather than static inline.
(XCALLOC): Optimize sizeof(T) = 1 case.
* lib/xmalloc.c (static_inline) [!HAVE_INLINE]: New macro.

2006-11-07  Bruno Haible  &lt;bruno@clisp.org&gt;

* lib/xalloc.h (XNMALLOC): Restore optimization of sizeof(T) = 1 case.
* m4/xalloc.m4 (gl_PREREQ_XALLOC): Require gl_INLINE instead of
AC_C_INLINE.
* modules/xalloc (Files): Add m4/inline.m4.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
definitions up, to avoid colliding with change below.
(static_inline) [HAVE_INLINE]: New macro.
(xnmalloc, xnrealloc, x2nrealloc, xcharalloc):
Provide extern decls when !HAVE_INLINE.  Do not define unless
static_inline is defined, either by us or by xmalloc.c.  Use
static_inline rather than static inline.
(XCALLOC): Optimize sizeof(T) = 1 case.
* lib/xmalloc.c (static_inline) [!HAVE_INLINE]: New macro.

2006-11-07  Bruno Haible  &lt;bruno@clisp.org&gt;

* lib/xalloc.h (XNMALLOC): Restore optimization of sizeof(T) = 1 case.
* m4/xalloc.m4 (gl_PREREQ_XALLOC): Require gl_INLINE instead of
AC_C_INLINE.
* modules/xalloc (Files): Add m4/inline.m4.
</pre>
</div>
</content>
</entry>
<entry>
<title>gnulib-tool now synthesizes the EXTRA_DIST line.</title>
<updated>2006-10-13T12:40:22+00:00</updated>
<author>
<name>Bruno Haible</name>
<email>bruno@clisp.org</email>
</author>
<published>2006-10-13T12:40:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnulib.git/commit/?id=5eeec029e833abe9ba663d51bb556bd1eebb814e'/>
<id>5eeec029e833abe9ba663d51bb556bd1eebb814e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Distribute all lib/* source files through EXTRA_DIST.</title>
<updated>2006-10-12T18:52:30+00:00</updated>
<author>
<name>Bruno Haible</name>
<email>bruno@clisp.org</email>
</author>
<published>2006-10-12T18:52:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnulib.git/commit/?id=e8684643a28f1bf6a0839bf6a0c10f630c0f6335'/>
<id>e8684643a28f1bf6a0839bf6a0c10f630c0f6335</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
