Detected when testing pipe2 in isolation on mingw. The fail: label
needs either gnulib O_NONBLOCK emulation, or non-Windows systems.
* lib/pipe2.c (pipe2): Hide label if it is not used.
Signed-off-by: Eric Blake <eblake@redhat.com>
+2011-08-17 Eric Blake <eblake@redhat.com>
+
+ pipe2: silence compiler warning
+ * lib/pipe2.c (pipe2): Hide label if it is not used.
+
2011-08-15 Ben Pfaff <blp@cs.stanford.edu>
relocatable-prog: fix link error
#endif
+#if GNULIB_defined_O_NONBLOCK || \
+ !((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)
fail:
{
int saved_errno = errno;
errno = saved_errno;
return -1;
}
+#endif
}