[PATCH v2] Cygwin: respect PC_SYM_FOLLOW and PC_SYM_NOFOLLOW_REP with inner links

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jul 8 14:48:28 GMT 2021


On Jul  7 11:52, Jeremy Drake via Cygwin-patches wrote:
> On Mon, 31 May 2021, Corinna Vinschen wrote:
> 
> > So we have two contradict problems, one which is solved by following
> > inner symlinks, one which is solved by not doing that...
> 
> I hesitate to suggest it, but maybe an option/setting in the CYGWIN
> variable as to whether to use this new behavior?  I am pretty much out of
> ideas on how to make it work with native programs where they expect to see
> the subst or mapped drive, not the target or UNC path.  Then MSYS2 could
> either patch to change the default, or else just tell the (probably few)
> people who hit it how to change the setting.

If MSYS2 has to patch the code anyway, why not go the entire way and
move the full patch to MSYS2?  Lets not add more CYGWIN options for rare
border cases, please.


Corinna


More information about the Cygwin-patches mailing list