Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <002001c09272$c13cfae0$8b0c4ea8@kepri.re.kr>
From: "Jong B. Lee" <jbdoll@kepri.re.kr>
To: "cygwin" <cygwin@cygwin.com>
Subject: tar  problem - symlinked file
Date: Fri, 9 Feb 2001 17:31:52 +0900
MIME-Version: 1.0
Content-Type: text/plain;
	charset="ks_c_5601-1987"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id DAA24742

tar does not teat well symlinked file
when it is symlinked to a file in its parent directory.

Here's the case.
Current directory is <test> and a file, <foo>, is in the parent directory.
$ ls -s ../foo foo
$ cd ..

$ tar cvf test.tar test
$ rm -rf test
$ tar xvf test.tar
$ cd test
$ls -laF
Wow!
The size of foo is zero !

