delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/24/08:12:36

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 24 Apr 2011 14:11:45 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: untarring symlinks with ../ fails randomly
Message-ID: <20110424121145.GB30696@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BANLkTikh9rCN2GRwY3eW20H0isffN5fMUg AT mail DOT gmail DOT com> <BANLkTi=GZbtLmK-Sr06-M=5xXVFzPCi82w AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <BANLkTi=GZbtLmK-Sr06-M=5xXVFzPCi82w@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
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 24 17:14, Dima Pasechnik wrote:
> Dear all,
> reposting, as the message did not get through to the mailing list yesterday:
> 
> The issue I have is exactly as described in
> http://sourceware.org/ml/cygwin/2011-04/msg00299.html
> I can reproduce this on a very similar Windows 7 host.
> (To be precise, it seems hard to predict when creating symlinks fails;
> I could say
> that perhaps 20% of them, on average, are not created correctly (i.e.
> I get files of size 0 instead)).

A simple testcase in plain C to reproduce the issue would be fine.
Did you try to create the symlinks under strace?  It should contain
some valuable hint from the function "symlink_worker".


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

- Raw text -


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