blob: 719a156c8117dd5c276507f60e34767b038d4dab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$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);
|