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'.
This commit is contained in:
Eric Blake 2011-02-11 12:32:17 -07:00
parent f370fc37f9
commit 699a5888b7
2 changed files with 2 additions and 3 deletions

@ -1 +1 @@
Subproject commit 2f41af65087fb2460779bc4e7fb62453f79ebae3
Subproject commit 4cce65cb2f10936f13760625f39d532564984fde

View File

@ -1,7 +1,7 @@
/*
* memory.c: safer memory allocation
*
* Copyright (C) 2010 Red Hat, Inc.
* Copyright (C) 2010-2011 Red Hat, Inc.
* Copyright (C) 2008 Daniel P. Berrange
*
* This library is free software; you can redistribute it and/or
@ -22,7 +22,6 @@
#include <config.h>
#include <stdlib.h>
#include <stddef.h>
#include "memory.h"
#include "ignore-value.h"