From: Adam Dickmeiss Date: Fri, 21 Apr 1995 16:37:43 +0000 (+0000) Subject: Parent (eti) creates BOTH FIFOs. dtbsun is more happy now. X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=0b1bb79e36a82a056f4acaca97e4ad31e150a80a;p=egate.git Parent (eti) creates BOTH FIFOs. dtbsun is more happy now. --- diff --git a/kernel/eti.c b/kernel/eti.c index 99e7370..32e03d3 100644 --- a/kernel/eti.c +++ b/kernel/eti.c @@ -2,7 +2,10 @@ * Europagate, 1995 * * $Log: eti.c,v $ - * Revision 1.8 1995/04/20 15:12:24 adam + * Revision 1.9 1995/04/21 16:37:43 adam + * Parent (eti) creates BOTH FIFOs. dtbsun is more happy now. + * + * Revision 1.8 1995/04/20 15:12:24 adam * Minor hacks really. * * Revision 1.7 1995/04/19 16:01:57 adam @@ -40,6 +43,9 @@ #include #include +#include +#include + #include #include #include @@ -198,11 +204,14 @@ int main (int argc, char **argv) r = gipc_open (gip, fifo_server_name, 0); else if (pass == 2) { +#if 0 gipc_close (gip); gipc_destroy (gip); unlink (fifo_server_name); unlink (fifo_client_name); gip = gipc_initialize (fifo_client_name); +#endif + mknod (fifo_server_name, S_IFIFO|0666, 0); start_kernel (argc, argv, id); r = gipc_open (gip, fifo_server_name, 1); }