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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: <1606116423 DOT 20160429020650 AT yandex DOT ru> <5580e7fc-e227-d9d8-a186-b58c8b17cfa3 AT lysator DOT liu DOT se> <206e8a55-a830-fb27-76e1-dfe4c47ac51f AT imbrian DOT org> From: Rinrin Message-ID: Date: Fri, 7 Oct 2016 10:06:11 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 在 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