From: Keith Seitz <keiths@redhat.com>
To: Mo DeJong <supermo@bayarea.net>
Cc: Insight <insight@sources.redhat.com>
Subject: Re: Patch to avoid using mkfifo under Cygwin
Date: Fri, 13 Sep 2002 07:44:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.44.0209130746340.1407-100000@valrhona.uglyboxes.com> (raw)
In-Reply-To: <20020912155153.5df1e557.supermo@bayarea.net>
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?
Keith
> 2002-09-12 Mo DeJong <supermo@bayarea.net>
>
> * unix/tclUnixFCmd.c (DoCopyFile): Don't use mkfifo
> when compiling with Cygwin, since it is not supported.
>
> Index: unix/tclUnixFCmd.c
> ===================================================================
> RCS file: /cvs/src/src/tcl/unix/tclUnixFCmd.c,v
> retrieving revision 1.2
> diff -u -r1.2 tclUnixFCmd.c
> --- unix/tclUnixFCmd.c 9 Sep 2001 23:56:09 -0000 1.2
> +++ unix/tclUnixFCmd.c 12 Sep 2002 22:37:10 -0000
> @@ -391,12 +391,18 @@
> }
> return CopyFileAtts(src, dst, &srcStatBuf);
> }
> +#ifndef __CYGWIN__
> + /*
> + * mkfifo is not supported under Cygwin even though it is prototyped
> + * in newlib headers.
> + */
> case S_IFIFO: {
> if (mkfifo(dst, srcStatBuf.st_mode) < 0) { /* INTL: Native. */
> return TCL_ERROR;
> }
> return CopyFileAtts(src, dst, &srcStatBuf);
> }
> +#endif /* __CYGWIN__ */
> default: {
> return CopyFile(src, dst, &srcStatBuf);
> }
>
next prev parent reply other threads:[~2002-09-13 14:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-12 15:51 Mo DeJong
2002-09-12 16:06 ` Patch to avoid using mkfifo under cygwin Christopher Faylor
2002-09-13 7:44 ` Keith Seitz [this message]
2002-09-13 9:39 ` Christopher Faylor
2002-09-13 9:57 ` Keith Seitz
2002-09-13 11:01 ` Mo DeJong
2002-09-13 11:05 ` Keith Seitz
2002-09-13 14:32 ` Christopher Faylor
2002-09-13 12:22 ` Patch to avoid using mkfifo under Cygwin Andrew Cagney
2002-09-17 10:27 Patch to avoid using mkfifo under cygwin Nicholas Wourms
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0209130746340.1407-100000@valrhona.uglyboxes.com \
--to=keiths@redhat.com \
--cc=insight@sources.redhat.com \
--cc=supermo@bayarea.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).