From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23255 invoked by alias); 7 Oct 2016 02:06:27 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23240 invoked by uid 89); 7 Oct 2016 02:06:26 -0000 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 Received: from li1009-235.members.linode.com (HELO mail.imbrian.org) (45.33.59.235) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Oct 2016 02:06:16 +0000 Subject: Re: `CYGWIN=winsymlinks:nativestrict`, `ln -s target link` fails if target doesn't exist To: cygwin@cygwin.com References: <1606116423.20160429020650@yandex.ru> <5580e7fc-e227-d9d8-a186-b58c8b17cfa3@lysator.liu.se> <206e8a55-a830-fb27-76e1-dfe4c47ac51f@imbrian.org> From: Rinrin Message-ID: Date: Fri, 07 Oct 2016 05:33:00 -0000 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00088.txt.bz2 在 2016/10/6 18:14, Gene Pavlovsky 写道: > On 5 October 2016 at 06:00, Rinrin 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 instead of > > 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