Skip to content

Commit

Permalink
fixup! Instead of creating Cygwin symlinks, use deep copy by default
Browse files Browse the repository at this point in the history
This adds the missing documentation (in case we ever publish the
information about the MSYS variable on msys2.org).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Jul 24, 2024
1 parent 7484c55 commit f0d57f8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion winsup/doc/cygwinenv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ back to the parent process.</para>
</listitem>

<listitem>
<para><envar>winsymlinks:{lnk,native,nativestrict,sys}</envar></para>
<para><envar>winsymlinks:{lnk,native,nativestrict,sys,deepcopy}</envar></para>

<itemizedlist mark="square">
<listitem>
Expand Down Expand Up @@ -133,6 +133,14 @@ system call will immediately fail.</para>
plain files with the <literal>system</literal> attribute, containing a magic
cookie followed by the path to which the link points.</para>
</listitem>

<listitem>
<para>If set to <literal>winsymlinks:deepcopy</literal>, a copy of the source
will be created at the target (a "deep" copy in the case of directories, i.e.
the source directory will be copied recursively). This mode makes a trade-off
between compatibility and interoperability with Win32 programs, favoring the
latter.</para>
</listitem>
</itemizedlist>

<para>Note that this setting has no effect where Cygwin knows that the
Expand Down

0 comments on commit f0d57f8

Please sign in to comment.