delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/10/06/22:06:57

X-Recipient: archive-cygwin AT delorie DOT 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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=ltATGZehhnLYE1tr
AKJnoTJNcL57sCmrRZ8L0P/0Rt3NJAbO+qBI2QbUizkz0NskWH5MITeeAra9VcXX
ExCLnYUaZUjiESpLh+0MjQf9gMJa7x5kTZPLmhcQxy2OfZZRW1D0n6CxhsoR4uAg
MhEojPn3MxGWlQBwP0DRM0l0Q4w=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=53NTK9XaoHz+h1xO2as/sr
Dhvyc=; b=Xi4vw+CwpL1tq1JcIK5h62c+dfMUKXKK26W7+zIa61CMMrYoK1nLQg
3TLtt5dGMkaEeiOF4LCPs0u2EWbGzcVDB4h+IMTt3Y6crpkgS2dFFMYZEDxsj40c
ELNZ3yr0i3JJtaVpwVx7pvQvhg0vhyHqxZdSTiy8fhhtmG8PLeBpo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=Portable, H*MI:sk:WH2VU8f, H*MI:sk:CAPTiy3, H*i:sk:WH2VU8f
X-HELO: mail.imbrian.org
Subject: Re: `CYGWIN=winsymlinks:nativestrict`, `ln -s target link` fails if target doesn't exist
To: cygwin AT cygwin DOT com
References: <CAPTiy3NUXprQL6V0+Njc2L7XfhpqtC7oWFwNMhOEFZ2OZmddoQ AT mail DOT gmail DOT com> <1606116423 DOT 20160429020650 AT yandex DOT ru> <CAPTiy3OhkvWhGKCisnoLBFZqTL1_Rcq4-vdn0U8Qfnxk+WsX-A AT mail DOT gmail DOT com> <5580e7fc-e227-d9d8-a186-b58c8b17cfa3 AT lysator DOT liu DOT se> <CAPTiy3MvtHccWMTcsd3hrgPr3zGDgedZWrcOHpu-Gj+jyaZ8wg AT mail DOT gmail DOT com> <206e8a55-a830-fb27-76e1-dfe4c47ac51f AT imbrian DOT org> <CAPTiy3O6Cq0SsJQzA4Nbj+WH2VU8f8JhhwH3AKD30mCeoc9Gow AT mail DOT gmail DOT com>
From: Rinrin <rinrin AT imbrian DOT org>
Message-ID: <fd70df5c-4ffb-0b0c-27bb-87c3d10aa978@imbrian.org>
Date: Fri, 7 Oct 2016 10:06:11 +0800
MIME-Version: 1.0
In-Reply-To: <CAPTiy3O6Cq0SsJQzA4Nbj+WH2VU8f8JhhwH3AKD30mCeoc9Gow@mail.gmail.com>
X-IsSubscribed: yes

在 2016/10/6 18:14, Gene Pavlovsky 写道:
> On 5 October 2016 at 06:00, Rinrin <rinrin AT imbrian DOT org> wrote:
>> Hi Gene:
>>   I made a patch for my private use.
>>   First of all, you should setup `nativenocheck` in CYGWIN environment
>> variable to enable this feature.
>>   If the target does not exist, it will check the last digit of target
>> path, for '/' it will create a <SYMLINKD> instead of <SYMLINK>
> 
> Hi Rinrin.
> I'd like to try it out, is your patch included in mainline Cygwin?
> If not, how can I get a version with that patch?
> Thanks.
> --Gene
I posted compiled version here.
http://www.megafileupload.com/kgm0/cygwin1.zip

This version contains another patch ripped from msys.
When cygwin process call non-cygwin executable, like mingw binary,
it will translate cygwin path format to windows format.

For example:
/mingw64/usr/bin $ iconv --help
Usage: C:\Portable\PrivData\cygwin\mingw64\usr\bin\iconv.exe [OPTION...]
[-f ENCODING] [-t ENCODING] [INPUTFILE...]
or:    C:\Portable\PrivData\cygwin\mingw64\usr\bin\iconv.exe -l

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