X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 27 Nov 2009 09:56:08 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: tar hangs on unpacking calcoo_1.3.16.orig.tar
Message-ID: <20091127085608.GW29173@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <5a05e0e60911261052w2e60586cxe7a90d02b4cf6e0f@mail.gmail.com>  <20091126213025.GA26443@win.tue.nl>  <4B0EF59B.90609@cs.umass.edu>  <20091127002050.GA27305@win.tue.nl>  <20091127005219.GE18148@ednor.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20091127005219.GE18148@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Nov 26 19:52, Christopher Faylor wrote:
> On Fri, Nov 27, 2009 at 01:20:50AM +0100, Reinier Post wrote:
> >On Thu, Nov 26, 2009 at 04:39:39PM -0500, Eliot Moss wrote:
> >> I wonder if some process has created the file in
> >> question and still has it open. Then a call to
> >> create, and a call to unlink, will both fail.
> >
> >But the call to open is failing (the fd returned is -1),
> >which is why the unlink() is executed in the first place,
> >and it does *not* fail.
> >
> >My vote for Stephan Mueller's suggestion that the 'aux' in the
> >name is causing the problem - but this still doesn't explaing why
> >the unlink() claims to succeed (returning 0); the loop within tar
> >should be changed to deal with this situation in any case.
> 
> No, it shouldn't.  We are not going to patch every conceivable
> program to understand MS-DOS special files.
> 
> This won't be a problem with Cygwin 1.7.  If you want a fix change
> to that.

Just as a sidenote a pointer to the new User's Guide:
http://cygwin.com/1.7/cygwin-ug-net/using-specialnames.html#pathnames-dosdevices


Corinna

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

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

