4d0e5b8d32
using gcc 2.95.
17 lines
450 B
Text
17 lines
450 B
Text
$NetBSD: patch-aa,v 1.5 2005/10/01 18:13:17 kristerw Exp $
|
|
|
|
gcc-2.95.3 does not like code intermixed with declarations.
|
|
|
|
--- ioloop.c.orig Sat Oct 1 20:07:03 2005
|
|
+++ ioloop.c Sat Oct 1 20:07:34 2005
|
|
@@ -113,9 +113,9 @@
|
|
|
|
void fd_event_reset(fd_event *event)
|
|
{
|
|
- event->signalled = 0;
|
|
char buf[1] = {0};
|
|
int flags;
|
|
+ event->signalled = 0;
|
|
|
|
/* set non-blocking on read pipe */
|
|
flags = fcntl(event->pipe[0], F_GETFL, 0);
|