[mw-devel] MW3 r1291 - trunk/src

welshbyte at sucs.org welshbyte at sucs.org
Sun Nov 18 02:37:23 GMT 2012


Author: welshbyte
Date: 2012-11-18 02:37:23 +0000 (Sun, 18 Nov 2012)
New Revision: 1291

Modified:
   trunk/src/files.c
   trunk/src/files.h
Log:
open_outgoing_fifo is no longer used - remove it


Modified: trunk/src/files.c
===================================================================
--- trunk/src/files.c	2012-11-18 02:31:42 UTC (rev 1290)
+++ trunk/src/files.c	2012-11-18 02:37:23 UTC (rev 1291)
@@ -41,16 +41,6 @@
 		ipc_connect(host);
 }
 
-int open_outgoing_fifo(pid_t dest_pid)
-{
-	int fd = open(get_pipe_name(dest_pid), O_WRONLY|O_APPEND|O_NDELAY);
-	if (fd < 0)
-	{
-		perror("Error opening outgoing pipe");
-	}
-	return fd;
-}
-
 void close_fifo(void)
 {
 	ipc_close();

Modified: trunk/src/files.h
===================================================================
--- trunk/src/files.h	2012-11-18 02:31:42 UTC (rev 1290)
+++ trunk/src/files.h	2012-11-18 02:37:23 UTC (rev 1291)
@@ -12,7 +12,6 @@
 
 void create_pipe(void);
 void open_incoming_fifo(const char *host);
-int open_outgoing_fifo(pid_t dest_pid);
 void close_fifo(void);
 void Lock_File(int f);
 void Unlock_File(int f);




More information about the mw-devel mailing list