<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs">
    <title>gmane.comp.lib.gnulib.bugs</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32870"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32869"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32868"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32867"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32866"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32865"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32864"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32863"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32862"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32861"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32860"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32859"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32858"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32857"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32856"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32855"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32854"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32853"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32852"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32851"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32870">
    <title>Re: regexp_exec thread-unsafe</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32870</link>
    <description>&lt;pre&gt;Paul Eggert &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt; skribis:


Thank you for the quick reply.  I haven’t tested yet, but I have a question:


Seems like this is going to add -lpthread to LDFLAGS, right?

That would raise two issues: first, it should add -pthread to both
CFLAGS and LDFLAGS, not just -lpthread.

Second, Guile can be compiled with and without thread support.  In the
latter case, we wouldn’t want Gnulib to stealthily pull in pthreads.
How can this be addressed?

Thanks!

Ludo’.


&lt;/pre&gt;</description>
    <dc:creator>Ludovic Courtès</dc:creator>
    <dc:date>2013-05-20T14:20:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32869">
    <title>Re: regexp_exec thread-unsafe</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32869</link>
    <description>&lt;pre&gt;

Yes, thanks, that sounds right.  I pushed the following patch into gnulib;
could you please see whether it fixes the problem for you?  It'd be
helpful to try it on non-glibc systems too, if possible.

---
 ChangeLog            | 19 +++++++++++++++++++
 lib/regcomp.c        | 11 ++++++++---
 lib/regex_internal.h | 23 +++++++++++++++++------
 lib/regexec.c        |  4 ----
 modules/regex        |  1 +
 5 files changed, 45 insertions(+), 13 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 08042c5..35b6dd2 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,5 +1,24 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 2013-05-19  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
+regex: fix dfa race in multithreaded uses
+Problem reported by Ludovic Courtès in
+&amp;lt;http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00058.html&amp;gt;.
+* lib/regex_internal.h (lock_define, lock_init, lock_fini):
+New macros.  All uses of __libc_lock_define, __libc_lock_init
+changed to use the first two of these.
+(__libc_lock_lock, __libc_lock_unlock): New macros, for
+non-glibc platfor&lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-19T21:30:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32868">
    <title>[PATCH] malloca: port to compilers that reject size-zero arrays</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32868</link>
    <description>&lt;pre&gt;---
 ChangeLog     | 11 +++++++++++
 lib/malloca.c | 20 +++++++++++++-------
 2 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6963994..08042c5 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,3 +1,14 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
+2013-05-19  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
+
+malloca: port to compilers that reject size-zero arrays
+This fixes a bug introduced in my previous patch.
+* lib/malloca.c (struct preliminary_header): Use an int
+rather than a character array of size int; that's simpler.
+(struct header): Remove, replacing with ...
+(union header): New type.  This avoids the need for declaring a
+character array of size zero, which is not allowed on some platforms.
+All uses changed.
+
 2013-05-18  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
 parse-datetime, tests: don't use "string" + int
diff --git a/lib/malloca.c b/lib/malloca.c
index 53ecb81..7a4b0cd 100644
--- a/lib/malloca.c
+++ b/lib/malloca.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -49,12 +49,18 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #define MAGIC_SIZE sizeof (int)
 /* This is how the header info&lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-19T20:06:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32867">
    <title>[PATCH] parse-datetime, tests: don't use "string" + int</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32867</link>
    <description>&lt;pre&gt;---
 ChangeLog                            | 18 ++++++++++++++++++
 lib/parse-datetime.y                 |  2 +-
 tests/test-fchdir.c                  |  2 +-
 tests/test-snprintf-posix.h          |  2 +-
 tests/test-snprintf.c                |  2 +-
 tests/test-vasnprintf-posix.c        |  2 +-
 tests/test-vasnprintf.c              |  2 +-
 tests/test-vsnprintf.c               |  2 +-
 tests/unistdio/test-ulc-asnprintf1.h |  2 +-
 9 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index de7f539..6963994 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,3 +1,21 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
+2013-05-18  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
+
+parse-datetime, tests: don't use "string" + int
+Recent versions of 'clang' complain about C source code that
+uses expressions of the form '"string literal" + integer',
+I guess on the theory that it's confusing for readers who are
+used to C++.  On those grounds I suppose it's OK to make this
+minor style change.
+* lib/parse-datetime.y (parse_datetime):
+* tes&lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-19T00:22:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32866">
    <title>Re: [PATCH 2/2] argmatch: port to C++</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32866</link>
    <description>&lt;pre&gt;
Thanks; I've pushed both of these, after adding a ChangeLog entry.

&lt;/pre&gt;</description>
    <dc:creator>Eric Blake</dc:creator>
    <dc:date>2013-05-17T17:14:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32865">
    <title>[PATCH 2/2] argmatch: port to C++</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32865</link>
    <description>&lt;pre&gt;* lib/argmatch.h [__cplusplus]: Add extern "C".
---
 lib/argmatch.h |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lib/argmatch.h b/lib/argmatch.h
index 2e0275c..e4c8027 100644
--- a/lib/argmatch.h
+++ b/lib/argmatch.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -26,6 +26,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 
 # include "verify.h"
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 # define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
 
 /* Assert there are as many real arguments as there are values
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -100,4 +104,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; char const *argmatch_to_argument (char const *value,
   argmatch_to_argument (Value, Arglist,                                 \
                         (char const *) (Vallist), sizeof *(Vallist))
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /* ARGMATCH_H_ */
&lt;/pre&gt;</description>
    <dc:creator>Alexandre Duret-Lutz</dc:creator>
    <dc:date>2013-05-17T17:01:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32864">
    <title>[PATCH 1/2] * lib/argp-help.c: Typo in comment.</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32864</link>
    <description>&lt;pre&gt;---
 lib/argp-help.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/argp-help.c b/lib/argp-help.c
index 354f1e2..85def44 100644
--- a/lib/argp-help.c
+++ b/lib/argp-help.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -649,7 +649,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; hol_find_entry (struct hol *hol, const char *name)
   return 0;
 }
 
-/* If an entry with the long option NAME occurs in HOL, set it's special
+/* If an entry with the long option NAME occurs in HOL, set its special
    sort position to GROUP.  */
 static void
 hol_set_group (struct hol *hol, const char *name, int group)
&lt;/pre&gt;</description>
    <dc:creator>Alexandre Duret-Lutz</dc:creator>
    <dc:date>2013-05-17T17:01:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32863">
    <title>Re: [libvirt] [PATCH] Define __USE_MINGW_ANSI_STDIO in config.h</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32863</link>
    <description>&lt;pre&gt;[adding gnulib]

On 05/17/2013 08:14 AM, Daniel P. Berrange wrote:

Yes, gnulib should be taking advantage of this new mingw development.

Please don't push this to libvirt until gnulib has decided what to do
about it.


&lt;/pre&gt;</description>
    <dc:creator>Eric Blake</dc:creator>
    <dc:date>2013-05-17T14:35:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32862">
    <title>[PATCH] manywarnings: update for GCC 4.8.0</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32862</link>
    <description>&lt;pre&gt; ChangeLog          | 8 ++++++++
 m4/manywarnings.m4 | 6 ++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 171fa5d..c03bf8c 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,5 +1,13 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 2013-05-15  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
+manywarnings: update for GCC 4.8.0
+* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC):
+Add -Waggressive-loop-optimizations, -Wreturn-local-addr, which
+are new to GCC 4.8.  Remove -Wformat=2, -Wmissing-format-attribute,
+-Wmissing-noreturn, as they are duplicates of other warnings.
+Remove -Wunreachable-code, as it is removed in GCC 4.8 and
+was documented to be flaky in earlier versions of GCC.
+
 spawn-tests, sys_socket-tests, sys_wait-tests: port to clang
 * tests/test-spawn.c (main):
 * tests/test-sys_socket.c (main):
diff --git a/m4/manywarnings.m4 b/m4/manywarnings.m4
index 45a30af..be6d4c9 100644
--- a/m4/manywarnings.m4
+++ b/m4/manywarnings.m4
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -98,6 +98,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; AC_DEFUN([gl_MANYWARN_ALL_GCC],
     -W \
     -Wabi \
     &lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-16T06:22:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32861">
    <title>Re: [PATCH 1/4] stdio: use __REDIRECT for fwrite, fwrite_unlocked</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32861</link>
    <description>&lt;pre&gt;
My first worry is that __REDIRECT is non-standard; but then I realized:


We only get here on glibc, where system headers give us __REDIRECT, so


this usage only has to work for glibc, which it does.  Interesting solution.

&lt;/pre&gt;</description>
    <dc:creator>Eric Blake</dc:creator>
    <dc:date>2013-05-16T04:18:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32860">
    <title>[PATCH 4/4] spawn-tests, sys_socket-tests, sys_wait-tests: port toclang</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32860</link>
    <description>&lt;pre&gt; ChangeLog               | 6 ++++++
 tests/test-spawn.c      | 2 +-
 tests/test-sys_socket.c | 2 +-
 tests/test-sys_wait.c   | 6 +++---
 4 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f9212fe..171fa5d 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,5 +1,11 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 2013-05-15  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
+spawn-tests, sys_socket-tests, sys_wait-tests: port to clang
+* tests/test-spawn.c (main):
+* tests/test-sys_socket.c (main):
+* tests/test-sys_wait.c (main):
+Don't have a switch value that isn't covered by a case.
+
 getaddrinfo-tests: port --enable-gcc-warnings to clang
 * tests/test-getaddrinfo.c (simple):
 Avoid casts from looser to stricter-aligned pointers.
diff --git a/tests/test-spawn.c b/tests/test-spawn.c
index cfa9dc6..5b68171 100644
--- a/tests/test-spawn.c
+++ b/tests/test-spawn.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -40,7 +40,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; extern void f (struct sched_param *g);
 int
 main (void)
 {
-  switch (0)
+  switch (POSIX_SPAWN_RESETIDS)
     {
     case POSIX_SPAWN_RESETIDS:&lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-16T03:54:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32859">
    <title>[PATCH 3/4] getaddrinfo-tests: port --enable-gcc-warnings to clang</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32859</link>
    <description>&lt;pre&gt; ChangeLog                | 4 ++++
 tests/test-getaddrinfo.c | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fbd47fc..f9212fe 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,5 +1,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 2013-05-15  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
+getaddrinfo-tests: port --enable-gcc-warnings to clang
+* tests/test-getaddrinfo.c (simple):
+Avoid casts from looser to stricter-aligned pointers.
+
 thread: port --enable-gcc-warnings to clang
 * lib/glthread/thread.h [__clang__ &amp;amp;&amp;amp; USE_POSIX_THREADS_WEAK]:
 Include &amp;lt;signal.h&amp;gt;, to pacify a warning about pthread_sigmask.
diff --git a/tests/test-getaddrinfo.c b/tests/test-getaddrinfo.c
index 1b9892f..5c27d3b 100644
--- a/tests/test-getaddrinfo.c
+++ b/tests/test-getaddrinfo.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -114,6 +114,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; simple (char const *host, char const *service)
 
   for (ai = ai0; ai; ai = ai-&amp;gt;ai_next)
     {
+      void *ai_addr = ai-&amp;gt;ai_addr;
+      struct sockaddr_in *sock_addr = ai_addr;
       dbgprintf ("\tflags %x\n", ai-&amp;gt;ai_flags);
   &lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-16T03:53:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32858">
    <title>[PATCH 2/4] thread: port --enable-gcc-warnings to clang</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32858</link>
    <description>&lt;pre&gt; ChangeLog             | 4 ++++
 lib/glthread/thread.h | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 3544972..fbd47fc 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,5 +1,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 2013-05-15  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
+thread: port --enable-gcc-warnings to clang
+* lib/glthread/thread.h [__clang__ &amp;amp;&amp;amp; USE_POSIX_THREADS_WEAK]:
+Include &amp;lt;signal.h&amp;gt;, to pacify a warning about pthread_sigmask.
+
 stdio: use __REDIRECT for fwrite, fwrite_unlocked
 * lib/stdio.in.h (fwrite):
 When working around bug 11959, use __REDIRECT rather than '#define
diff --git a/lib/glthread/thread.h b/lib/glthread/thread.h
index 166a50c..e52b615 100644
--- a/lib/glthread/thread.h
+++ b/lib/glthread/thread.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -120,7 +120,13 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; extern int glthread_in_use (void);
    address of a function in libpthread that we don't use.  */
 
 #  pragma weak pthread_create
+
+#  ifdef __clang__
+  /* Without this, clang complains that pthread_sigmask is never declared.  */
+#   include &amp;lt;signal.h&amp;gt;
+#  endi&lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-16T03:53:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32857">
    <title>[PATCH 1/4] stdio: use __REDIRECT for fwrite, fwrite_unlocked</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32857</link>
    <description>&lt;pre&gt;---
 ChangeLog      | 10 ++++++++++
 lib/stdio.in.h | 19 +++++++++++++------
 2 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dfb2e5c..3544972 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,5 +1,15 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 2013-05-15  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
+stdio: use __REDIRECT for fwrite, fwrite_unlocked
+* lib/stdio.in.h (fwrite):
+When working around bug 11959, use __REDIRECT rather than '#define
+fwrite(...) ... fwrite (...) ...'.  This is a more-targeted way to
+fix the -Wunused-value issue with clang, and it works with GCC too.
+Problem with targeting reported by Eric Blake in
+&amp;lt;http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00067.html&amp;gt;.
+(fwrite_unlocked): Treat like fwrite.  I ran into this issue while
+debugging the fwrite issue.
+
 stdio: port --enable-gcc-warnings to clang
 * lib/stdio.in.h (fwrite) [__clang__]: Ignore -Wunused-value entirely,
 since the GCC workaround for fwrite does not pacify clang.
diff --git a/lib/stdio.in.h b/lib/stdio&lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-16T03:52:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32856">
    <title>Re: [PATCH 8/8] stdio: port --enable-gcc-warnings to clang</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32856</link>
    <description>&lt;pre&gt;

Yes.  Unfortunately they don't work here, even with _Pragma.


Unfortunately no.


I think that's because in other places we simply do a (void) fwrite (...),
which pacifies 'clang'.  But here we can't do that, since the replacement
fwrite must return a value.  None of the obvious workarounds worked for me.

But I did think of a workaround that wasn't obvious (at least, not to me),
and installed it.  I'll follow up with a message
"[PATCH 1/4] stdio: use __REDIRECT for fwrite, fwrite_unlocked"
about that.  Three other clang-related patches will follow.


&lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-16T03:50:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32855">
    <title>Re: [PATCH 8/8] stdio: port --enable-gcc-warnings to clang</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32855</link>
    <description>&lt;pre&gt;

Does clang support push/pop of pragmas?  Can it be silenced by adding a
cast to void instead of globally turning off this normally-useful warning?


Here, we were just inlining the gcc version if "ignore-value.h" (so that
our replacement &amp;lt;stdio.h&amp;gt; doesn't have to drag in the actual
ignore-value.h header); but the non-gcc counterpart is a cast to void,
and clang doesn't seem to be issuing unused result warnings for other
uses of ignore_value().

&lt;/pre&gt;</description>
    <dc:creator>Eric Blake</dc:creator>
    <dc:date>2013-05-15T11:57:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32854">
    <title>[PATCH 8/8] stdio: port --enable-gcc-warnings to clang</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32854</link>
    <description>&lt;pre&gt;* lib/stdio.in.h (fwrite) [__clang__]: Ignore -Wunused-value entirely,
since the GCC workaround for fwrite does not pacify clang.
---
 ChangeLog      |  4 ++++
 lib/stdio.in.h | 11 +++++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index baa594e..dfb2e5c 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,5 +1,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 2013-05-15  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
+stdio: port --enable-gcc-warnings to clang
+* lib/stdio.in.h (fwrite) [__clang__]: Ignore -Wunused-value entirely,
+since the GCC workaround for fwrite does not pacify clang.
+
 sig2str: port --enable-gcc-warnings to clang
 * lib/sig2str.c (sig2str): Avoid warning about unused printf argument.
 
diff --git a/lib/stdio.in.h b/lib/stdio.in.h
index c345499..115c976 100644
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -579,13 +579,16 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; _GL_CXXALIAS_SYS (fwrite, size_t,
    &amp;lt;http://sources.redhat.com/bugzilla/show_bug.cgi?id=11959&amp;gt;,
    which sometimes causes an unwanted diagnostic for fwrite calls.
    This&lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-15T07:39:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32853">
    <title>[PATCH 7/8] sig2str: port --enable-gcc-warnings to clang</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32853</link>
    <description>&lt;pre&gt;* lib/sig2str.c (sig2str): Avoid warning about unused printf argument.
---
 ChangeLog     |  3 +++
 lib/sig2str.c | 12 ++++++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 35a57b4..baa594e 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,5 +1,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 2013-05-15  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
+sig2str: port --enable-gcc-warnings to clang
+* lib/sig2str.c (sig2str): Avoid warning about unused printf argument.
+
 obstack: port --enable-gcc-warnings to clang
 * lib/obstack.h (obstack_ptr_grow_fast, obstack_int_grow_fast):
 Avoid casts from looser to stricter-aligned pointers.
diff --git a/lib/sig2str.c b/lib/sig2str.c
index 8b36e2f..6ead2a7 100644
--- a/lib/sig2str.c
+++ b/lib/sig2str.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -325,21 +325,25 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; sig2str (int signum, char *signame)
   {
     int rtmin = SIGRTMIN;
     int rtmax = SIGRTMAX;
+    int base, delta;
 
     if (! (rtmin &amp;lt;= signum &amp;amp;&amp;amp; signum &amp;lt;= rtmax))
       return -1;
 
     if (signum &amp;lt;= rtmin + (rtmax - rtmin) / 2)
       {
-     &lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-15T07:38:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32852">
    <title>[PATCH 6/8] obstack: port --enable-gcc-warnings to clang</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32852</link>
    <description>&lt;pre&gt;* lib/obstack.h (obstack_ptr_grow_fast, obstack_int_grow_fast):
Avoid casts from looser to stricter-aligned pointers.
---
 ChangeLog     | 4 ++++
 lib/obstack.h | 6 ++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f637cda..35a57b4 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,5 +1,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 2013-05-15  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
+obstack: port --enable-gcc-warnings to clang
+* lib/obstack.h (obstack_ptr_grow_fast, obstack_int_grow_fast):
+Avoid casts from looser to stricter-aligned pointers.
+
 memchr2: port --enable-gcc-warnings to clang
 * lib/memchr2.c (memchr2):
 Avoid casts from looser to stricter-aligned pointers.
diff --git a/lib/obstack.h b/lib/obstack.h
index 159cfa2..7cf98ed 100644
--- a/lib/obstack.h
+++ b/lib/obstack.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -342,14 +342,16 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; __extension__                                                           \
 # define obstack_ptr_grow_fast(OBSTACK,aptr)                            \
 __extension__                                     &lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-15T07:37:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32851">
    <title>[PATCH 5/8] memchr2: port --enable-gcc-warnings to clang</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32851</link>
    <description>&lt;pre&gt;* lib/memchr2.c (memchr2):
Avoid casts from looser to stricter-aligned pointers.
---
 ChangeLog     |  4 ++++
 lib/memchr2.c | 21 +++++++++++++--------
 2 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1a8925a..f637cda 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,5 +1,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 2013-05-15  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
+memchr2: port --enable-gcc-warnings to clang
+* lib/memchr2.c (memchr2):
+Avoid casts from looser to stricter-aligned pointers.
+
 mbsstr: port --enable-gcc-warnings to clang
 * lib/mbsstr.c (knuth_morris_pratt_multibyte):
 Avoid casts from looser to stricter-aligned pointers.
diff --git a/lib/memchr2.c b/lib/memchr2.c
index 3912e02..8b105b7 100644
--- a/lib/memchr2.c
+++ b/lib/memchr2.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -43,6 +43,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; memchr2 (void const *s, int c1_in, int c2_in, size_t n)
   typedef unsigned long int longword;
 
   const unsigned char *char_ptr;
+  void const *void_ptr;
   const longword *longword_ptr;
   longword repeated_one;
   longword repeated_c1;
&amp;lt; at &amp;gt;&lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-15T07:37:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32850">
    <title>[PATCH 4/8] mbsstr: port --enable-gcc-warnings to clang</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/32850</link>
    <description>&lt;pre&gt;* lib/mbsstr.c (knuth_morris_pratt_multibyte):
Avoid casts from looser to stricter-aligned pointers.
---
 ChangeLog    | 4 ++++
 lib/mbsstr.c | 7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 508458e..1a8925a 100644
--- a/ChangeLog
+++ b/ChangeLog
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1,5 +1,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 2013-05-15  Paul Eggert  &amp;lt;eggert&amp;lt; at &amp;gt;cs.ucla.edu&amp;gt;
 
+mbsstr: port --enable-gcc-warnings to clang
+* lib/mbsstr.c (knuth_morris_pratt_multibyte):
+Avoid casts from looser to stricter-aligned pointers.
+
 malloca: port --enable-gcc-warnings to clang
 * lib/malloca.c (struct header): New member 'magic', to avoid casts.
 (mmalloca): Avoid casts from looser to stricter-aligned pointers.
diff --git a/lib/mbsstr.c b/lib/mbsstr.c
index f84e689..24cff25 100644
--- a/lib/mbsstr.c
+++ b/lib/mbsstr.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -45,11 +45,12 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; knuth_morris_pratt_multibyte (const char *haystack, const char *needle,
   size_t *table;
 
   /* Allocate room for needle_mbchars and the table.  */
-  char *memory = (char *) nmalloca (m&lt;/pre&gt;</description>
    <dc:creator>Paul Eggert</dc:creator>
    <dc:date>2013-05-15T07:36:58</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lib.gnulib.bugs">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lib.gnulib.bugs</link>
  </textinput>
</rdf:RDF>
