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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=VemZbRXkzYKsegVRx7kd3O9z9E+oPLJlqJBJuOv0Net
	+hxFx0bI1d6LE/zOfme6y0Ogfxx5bXM6UVX32+FjF5phWtMWqEdWx0x58WqMabgd
	MWsKemPO9e8CFcO567fb+ECzBHSuwBJijXjm11xKwIpnymk/4/LhSR7EaYKh6Fqw
	=
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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type:content-transfer-encoding;
	 s=default; bh=nMRYKXaEUIVVzaG2mqBxp0hLEqk=; b=mbOUgpt+8EhCgsMA3
	gW6VYj9jeM+vVVOXJ5TXjAGeKAZZFH1qpo15b256m090JQ1guYawIBgr4uNBO9JS
	picmNA4g8XCOuUSw/IT6s0Hqvr6K0x8rt5pwB+Jkh/ax37fWyY88moX9JxnCtJa4
	KhU8HkzjhbyNKApKWagVsv1znY=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Gene, gene, Hx-languages-length:1520, hey
X-HELO: mail-io0-f170.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:from:date         :message-id:subject:to:content-transfer-encoding;        bh=F0KkqrwDPrzpYSN7QDl6yar5bPWAzyCZEqE40B2VkBg=;        b=eRIy6dUZcTR0qS/ntA00iOBubZl0mp38fRceiyoHEEioxhDOSZYoLBNgJ/htgVdPcH         RUWfNypPOAXDNTftV0H8gk1s11tA+W+3vmly4eKIbBi8GfoNtV+6Xuk4wWRX0YZ7aAYA         nTm5VxuEHdSfIyosdDV4jcT81GHUbjjA1riK7Pa+0F5PsBU8zVjEHssnWwlk/YK4XpwJ         NNWK3zWQqVXEuxmdUjZ49e0j0n5a2Z12k+jIjZY9XFBTzOgr2FR067KfiYjIkQWFKi8V         aGIaYExIWdhFO3RCrecIBgf731UKX9WgvD3vHUBCPt0cnWC0XVAwey1Gi6ziH6iqenHG         A5yQ==
X-Gm-Message-State: AA6/9Rn4/0yuV4FJrHybi00BXKaeRcodgAoinkuV79hrEHs2JOkUMDCa6kgd2G3TI7rtbQn9ZkiVntz1dI7tuA==
X-Received: by 10.107.12.139 with SMTP id 11mr19652701iom.67.1476039948030; Sun, 09 Oct 2016 12:05:48 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <fd70df5c-4ffb-0b0c-27bb-87c3d10aa978@imbrian.org>
References: <CAPTiy3NUXprQL6V0+Njc2L7XfhpqtC7oWFwNMhOEFZ2OZmddoQ@mail.gmail.com> <1606116423.20160429020650@yandex.ru> <CAPTiy3OhkvWhGKCisnoLBFZqTL1_Rcq4-vdn0U8Qfnxk+WsX-A@mail.gmail.com> <5580e7fc-e227-d9d8-a186-b58c8b17cfa3@lysator.liu.se> <CAPTiy3MvtHccWMTcsd3hrgPr3zGDgedZWrcOHpu-Gj+jyaZ8wg@mail.gmail.com> <206e8a55-a830-fb27-76e1-dfe4c47ac51f@imbrian.org> <CAPTiy3O6Cq0SsJQzA4Nbj+WH2VU8f8JhhwH3AKD30mCeoc9Gow@mail.gmail.com> <fd70df5c-4ffb-0b0c-27bb-87c3d10aa978@imbrian.org>
From: Gene Pavlovsky <gene.pavlovsky@gmail.com>
Date: Sun, 9 Oct 2016 22:05:47 +0300
Message-ID: <CAPTiy3NRTudjB4Ey=OSUZT9TK_RsgeHYbYynZDnHPPNbDpvENQ@mail.gmail.com>
Subject: Re: `CYGWIN=winsymlinks:nativestrict`, `ln -s target link` fails if target doesn't exist
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u99J6FRp009774

Hey, sounds cool.
Did you submit your patch to Cygwin devs? Are there plans for accepting it?


On 7 October 2016 at 05:06, Rinrin <rinrin@imbrian.org> wrote:
> 在 2016/10/6 18:14, Gene Pavlovsky 写道:
>> On 5 October 2016 at 06:00, Rinrin <rinrin@imbrian.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
>

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


