openbsd-ports/devel/gmake/patches/patch-misc_c

17 lines
501 B
Plaintext
Raw Normal View History

$OpenBSD: patch-misc_c,v 1.2 2011/04/20 20:51:41 naddy Exp $
XXX THIS IS A HACK
Make this error non-fatal by not exiting. This is needed to workaround
the effects of userland threads which change i/o operations to
non-blocking.
--- misc.c.orig Mon Jul 19 09:10:54 2010
+++ misc.c Sat Oct 23 15:30:51 2010
@@ -954,6 +954,5 @@ close_stdout (void)
error (NILF, _("write error: %s"), strerror (errno));
else
error (NILF, _("write error"));
- exit (EXIT_FAILURE);
}
}