[Refdb-cvs] CVS: refdb/src refdbd.c,1.74.2.5,1.74.2.6
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2004-12-10 10:32:23
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32370 Modified Files: Tag: Release_0_9_5_stable refdbd.c Log Message: force Cygwin to use the temp file fifo emulation Index: refdbd.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbd.c,v retrieving revision 1.74.2.5 retrieving revision 1.74.2.6 diff -u -U2 -r1.74.2.5 -r1.74.2.6 --- refdbd.c 27 Nov 2004 23:15:40 -0000 1.74.2.5 +++ refdbd.c 10 Dec 2004 10:32:14 -0000 1.74.2.6 @@ -504,5 +504,6 @@ /* prepare a fifo for child->parent communication */ -#ifdef HAVE_MKFIFO + /*#ifdef HAVE_MKFIFO */ +#ifndef __CYGWIN__ /* e.g. cygwin (1.1.7) does not implement mkfifo/named pipes */ /* we emulate a fifo with a temporary file. To be polite, this is less @@ -661,5 +662,6 @@ /* loop over all file descriptors */ for(ptr_clrequest->fd = 0; ptr_clrequest->fd <= max_olili(&first_olili); ptr_clrequest->fd++) { -#ifndef HAVE_MKFIFO + /*#ifndef HAVE_MKFIFO*/ +#ifdef __CYGWIN__ if (access(the_fifo, F_OK) != -1) { if ((fd_fifo = open(the_fifo, O_RDWR)) == -1) { |