This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: `CYGWIN=winsymlinks:nativestrict`, `ln -s target link` fails if target doesn't exist
- From: Rinrin <rinrin at imbrian dot org>
- To: cygwin at cygwin dot com
- Date: Fri, 7 Oct 2016 10:06:11 +0800
- Subject: Re: `CYGWIN=winsymlinks:nativestrict`, `ln -s target link` fails if target doesn't exist
- Authentication-results: sourceware.org; auth=none
- 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>
在 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