Fix ipc handling, thanks to Simon Burge <simonb@NetBSD.ORG>.

(I'm still not sure this isn't a bug in NetBSD, though...)
This commit is contained in:
hubertf 1999-06-13 23:14:08 +00:00
parent f2f043b968
commit ffd94ae882

View file

@ -0,0 +1,11 @@
--- ipc.c.orig Mon Jun 14 00:47:56 1999
+++ ipc.c Mon Jun 14 00:49:37 1999
@@ -219,6 +219,8 @@
printf("unknown ipc command: `%s'\n", i_buf);
}
}
+ if (feof(ipc_file_id) != 0)
+ rewind (ipc_file_id);
return TRUE;
}