lgets function moved from kernel to util.
[egate.git] / util / gip.c
index b67a856..ba09b69 100644 (file)
@@ -2,7 +2,13 @@
  * Europagate, 1995
  *
  * $Log: gip.c,v $
- * Revision 1.2  1995/03/27 12:52:18  adam
+ * Revision 1.4  1995/04/21 16:38:07  adam
+ * Added more debugging logs.
+ *
+ * Revision 1.3  1995/04/20  15:12:42  adam
+ * Minor hacks really.
+ *
+ * Revision 1.2  1995/03/27  12:52:18  adam
  * A little more verbose in marc dump.
  *
  * Revision 1.1  1995/03/27  08:24:58  adam
@@ -21,6 +27,8 @@
 #include <sys/stat.h>
 #include <errno.h>
 
+#include <gw-log.h>
+
 #include <gip.h>
 
 GIP gip_initialize (const char *name)
@@ -37,6 +45,8 @@ GIP gip_initialize (const char *name)
     strcpy (gip->name, name);
     gip->ret = mknod (gip->name, S_IFIFO|0666, 0);
     gip->errno = errno;
+    gip->rfd = gip->wfd = -1;
+    gw_log (GW_LOG_DEBUG, "gip", "Creating %s", gip->name);
     return gip;
 }