Mail Archives: cygwin/2001/09/28/06:31:47
> Stipe Tolj schrieb am 2001-09-28 10:57:
>> Jaaaaaaa, me:-)
>> My main interest is to see how you substituted mkfifo functions
>> which were my main problems when trying to build qmail and friends.
>
>hmm, haven done any substitution at all :))
diff -urN qmail-1.03/fifo.c qmail-1.03-sti/fifo.c
--- qmail-1.03/fifo.c Mon Jun 15 10:53:16 1998
+++ qmail-1.03-sti/fifo.c Sun Sep 23 10:54:48 2001
@@ -5,6 +5,8 @@
#ifdef HASMKFIFO
int fifo_make(fn,mode) char *fn; int mode; { return mkfifo(fn,mode); }
+#elif __CYGWIN__
+int fifo_make(fn,mode) char *fn; int mode; { return mode; }
#else
int fifo_make(fn,mode) char *fn; int mode; { return mknod(fn,S_IFIFO | mode,0); }
#endif
You've changed it that way, is that sufficient?
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -