This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to avoid using mkfifo under cygwin


On Fri, Sep 13, 2002 at 07:47:24AM -0700, Keith Seitz wrote:
>On Thu, 12 Sep 2002, Mo DeJong wrote:
>
>> Here is a patch that avoids calling mkfifo under Cygwin since
>> it is not functional.
>
>Ok, so given cgf's latest comments, do we want to hold off on this or 
>revert it when the cygwin work is ready? Maybe we can write an autoconf 
>test for it?

Given that this is something that will just magically work when the cygwin
DLL is updated, I don't think autoconf is the right way to go.

What's wrong with the current code which returns an error when mkfifo fails?
That seems pretty clear to me.

cgf

>>          case S_IFIFO: {
>>  	    if (mkfifo(dst, srcStatBuf.st_mode) < 0) {	/* INTL: Native. */
>>  		return TCL_ERROR;
>>  	    }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]