public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Rinrin <rinrin@imbrian.org>
To: cygwin@cygwin.com
Subject: Re: `CYGWIN=winsymlinks:nativestrict`, `ln -s target link` fails if target doesn't exist
Date: Fri, 07 Oct 2016 05:33:00 -0000	[thread overview]
Message-ID: <fd70df5c-4ffb-0b0c-27bb-87c3d10aa978@imbrian.org> (raw)
In-Reply-To: <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

  reply	other threads:[~2016-10-07  2:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-28 22:18 Gene Pavlovsky
2016-04-28 23:48 ` Andrey Repin
2016-04-29  0:06   ` Eric Blake
2016-04-29  5:23     ` Andrey Repin
2016-04-29  0:09   ` Gene Pavlovsky
2016-04-29  1:46     ` Gene Pavlovsky
2016-04-29 12:03   ` Gene Pavlovsky
2016-04-29 12:15     ` Peter Rosin
2016-04-29 12:20       ` [cygwin] " Jason Pyeron
2016-04-30 12:35       ` Gene Pavlovsky
2016-10-05  3:56         ` Rinrin
2016-10-05  4:31           ` Marco Atzeri
2016-10-06 10:38           ` Gene Pavlovsky
2016-10-07  5:33             ` Rinrin [this message]
2016-10-09 19:16               ` Gene Pavlovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fd70df5c-4ffb-0b0c-27bb-87c3d10aa978@imbrian.org \
    --to=rinrin@imbrian.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).