delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/16/09:13:36

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 16 Apr 2008 15:13:00 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Tail not reading to end of input
Message-ID: <20080416131300.GX23852@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <18310f490804141056y466fa051x4240d2a52d3286a9 AT mail DOT gmail DOT com> <4805EFCF DOT 3030103 AT byu DOT net> <20080416124948 DOT GW23852 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20080416124948.GW23852@calimero.vinschen.de>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Apr 16 14:49, Corinna Vinschen wrote:
> On Apr 16 06:23, Eric Blake wrote:
> > According to smr xxxx on 4/14/2008 11:56 AM:
> > | Hi, I've just rebuilt my machine and done a clean install of the
> > | latest Cygwin, and am having a problem with tail.  I'm wanting to know
> > | whether this is a known issue before digging deeper.
> >
> > Not known to me, but I (thankfully) don't use Vista.
> 
> I can reproduce this problem on Windows 2008.  Pipes created by cmd on
> Vista/2008 are for some reason not recognized as pipes when using Cygwin
> 1.5.25-11.  This problem does not occur with the upcoming Cygwin 1.7.0
> so it's fixed in CVS, apparently.

The reason is that starting with Windows Vista/2008, anonymous pipes
don't have a filename attached to them, so that the call to
NtQueryObject in handle_to_fn fails with STATUS_OBJECT_PATH_INVALID.
This is handled gracefully for pipes in CVS, but not yet in 1.5.25-11.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019