]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix cygwin strerror_r failure
authorEric Blake <eblake@redhat.com>
Fri, 11 Feb 2011 19:32:17 +0000 (12:32 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 11 Feb 2011 19:32:17 +0000 (12:32 -0700)
commit699a5888b7446e0c2060389af6cdac9c4e60d80e
tree15bde6f4523e047fead1b4f7a1de718ab4c2989e
parentf370fc37f964984ba40584dab1de340ce7e44bac
build: fix cygwin strerror_r failure

Building the 0.8.8 release candidate on cygwin produced this compiler
warning, which is indicative of catastrophic failure on any attempt to
print an error message with errno turned to a string:

  CC       strerror_r.lo
strerror_r.c: In function 'rpl_strerror_r':
strerror_r.c:67: warning: assignment makes integer from pointer without a cast

This has been fixed in gnulib.

* .gnulib: Update to latest, for strerror_r fix.
* src/util/memory.c (includes): Satisfy 'make syntax-check'.
.gnulib
src/util/memory.c