X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:in-reply-to:subject:date:message-id
	:mime-version:content-transfer-encoding:content-type:references;
	 q=dns; s=default; b=vP2amJeqvE1jJhvV76sfuwO0HPQnLIFB7mFlu8mvuuO
	PY75STeifMXGHnv8FTG+MKT7pVHJbpadyZH7gXmU1Tl7G0LQcHBCnACRfcZX9kdi
	XlSfWnRBZWv8lEhZvM5/XT1dJlyfxTotppFcp220Gsfxn7Iv2yX65uP4fZIRpf7Y
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:in-reply-to:subject:date:message-id
	:mime-version:content-transfer-encoding:content-type:references;
	 s=default; bh=zG6XfIGXcjLHM7OkqumVBnc6rBI=; b=I+C1sM5LdcfVxwfgK
	zGlkxDUAs5ptnv74aR/YGkSODlVOFfnU/C5sJeYkBMx1ZH/fvi4Z/KzNf1K+lrbA
	95O3YUeqT1xMOvUUaKrTRCDkDG4Mh7Ttu3eenY/ayqW6Hx6ivBYd7bWP8evWAABJ
	OAtIHnQb5Y7ETwIBtQunmf2eHE=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,CYGWIN_OWNER_BODY,GIT_PATCH_2,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=samsung, Samsung, H*UA:15.0, H*x:15.0
X-HELO: mailout1.w1.samsung.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190701104258euoutp0125906f80a4080ee4891bd0365695520d~tQoOB8k9F1058710587euoutp01e
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;	s=mail20170921; t=1561977778;	bh=hj4alwAGhEumYSy47+Er8dFwMjxOnN4KNOWoT7CwQD4=;	h=From:To:In-Reply-To:Subject:Date:References:From;	b=f12HyAkB4uCEOPxCUzEWl/7PP9L9Xl68B3XPxnmyWWxgjQK1S7CsNXYIhQKxzPUWb	 QpfGbzS7hwiXonSFN1pnm5N5q3OZ7kNSBoyT+CNOphhl1kW+EnYHguAzPMXtWgMHeC	 lvZEaqWuSI0ewG74c+X1Ra1WWTXQyVEaMQjc7hYA=
From: "Pavel Fedin" <p.fedin@samsung.com>
To: "'Federico Kircheis'" <federico.kircheis@gmail.com>, <cygwin@cygwin.com>
In-Reply-To: <bae0be8b-310d-e187-e8f7-f08d3495ce1c@gmail.com>
Subject: RE: cygport and C:\Windows\system32\tar.exe
Date: Mon, 1 Jul 2019 13:42:55 +0300
Message-ID: <005501d52ff9$be8ef620$3bace260$@samsung.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-CMS-MailID: 20190701104257eucas1p1faadca6208e7624fe87ed6d098376e24
X-Msg-Generator: CA
Content-Type: text/plain; charset="utf-8"
X-RootMTR: 20190630053803epcas5p1a61a06ab1cf93b94e3342bf69761f15e
X-EPHeader: CA
CMS-TYPE: 201P
X-CMS-RootMailID: 20190630053803epcas5p1a61a06ab1cf93b94e3342bf69761f15e
References: <CGME20190630053803epcas5p1a61a06ab1cf93b94e3342bf69761f15e@epcas5p1.samsung.com>	<bae0be8b-310d-e187-e8f7-f08d3495ce1c@gmail.com>
X-IsSubscribed: yes

 This is solved by proper order of directories in your $PATH. Cygwin's /bin, /usr/bin, /usr/local/bin always come in front.
 You seem to have no Cygwin tar installed, hence the search continues down to native Windows one.

Kind regards,
Pavel Fedin
Senior Engineer
Samsung Electronics Research center Russia


> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Federico
> Kircheis
> Sent: Sunday, June 30, 2019 8:38 AM
> To: cygwin@cygwin.com
> Subject: cygport and C:\Windows\system32\tar.exe
> 
> Hello,
> 
> I'm working on Windows 10 freshly installed, installed cygwin too, and
> noticed that tar did not work on absolute files.
> 
> Apparently there is a tar.exe from Microsoft in system32.
> https://devblogs.microsoft.com/commandline/tar-and-curl-come-to-windows/
> 
> My problem is that cyport tries to invoke tar with an absolute file, and
> of course C:\Windows\system32\tar.exe does not understand a path that
> begins with `/cygdrive/c`.
> 
> How do you generally solve that problem?
> 
> 
> Thanks in advance


--
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

