projects
/
egate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Parent (eti) creates BOTH FIFOs. dtbsun is more happy now.
[egate.git]
/
kernel
/
eti.c
diff --git
a/kernel/eti.c
b/kernel/eti.c
index
99e7370
..
32e03d3
100644
(file)
--- a/
kernel/eti.c
+++ b/
kernel/eti.c
@@
-2,7
+2,10
@@
* Europagate, 1995
*
* $Log: eti.c,v $
* 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
* Minor hacks really.
*
* Revision 1.7 1995/04/19 16:01:57 adam
@@
-40,6
+43,9
@@
#include <setjmp.h>
#include <signal.h>
#include <setjmp.h>
#include <signal.h>
+#include <sys/file.h>
+#include <sys/stat.h>
+
#include <gw-log.h>
#include <gw-db.h>
#include <gip.h>
#include <gw-log.h>
#include <gw-db.h>
#include <gip.h>
@@
-198,11
+204,14
@@
int main (int argc, char **argv)
r = gipc_open (gip, fifo_server_name, 0);
else if (pass == 2)
{
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);
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);
}
start_kernel (argc, argv, id);
r = gipc_open (gip, fifo_server_name, 1);
}