https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=93b05a87c22ba410e1bac20dddcbcb26956befbc

commit 93b05a87c22ba410e1bac20dddcbcb26956befbc
Author:     Corinna Vinschen <[email protected]>
AuthorDate: Wed Mar 29 10:34:30 2023 +0200
Commit:     Corinna Vinschen <[email protected]>
CommitDate: Wed Mar 29 10:34:30 2023 +0200

    Cygwin: doc: fix description of new "env" schema for /etc/nsswitch.conf
    
    Fixes: 27376c60a9b8 ("Allow deriving the current user's home directory via 
the HOME variable")
    Signed-off-by: Corinna Vinschen <[email protected]>

Diff:
---
 winsup/doc/ntsec.xml | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/winsup/doc/ntsec.xml b/winsup/doc/ntsec.xml
index 1678ff65753b..687789076c0f 100644
--- a/winsup/doc/ntsec.xml
+++ b/winsup/doc/ntsec.xml
@@ -1167,7 +1167,7 @@ and on non-AD machines.
 </para>
 
 <para>
-Four schemata are predefined, two schemata are variable.  The predefined
+Five schemata are predefined, two schemata are variable.  The predefined
 schemata are the following:
 </para>
 
@@ -1205,14 +1205,10 @@ schemata are the following:
   </varlistentry>
   <varlistentry>
     <term><literal>env</literal></term>
-    <listitem>Derives the home directory of the current user from the
-             environment variable <literal>HOME</literal> (falling back to
-             <literal>HOMEDRIVE\HOMEPATH</literal> and
-             <literal>USERPROFILE</literal>, in that order).  This is faster
-             than the <term><literal>windows</literal></term> schema at the
-             expense of determining only the current user's home directory
-             correctly.  This schema is skipped for any other account.
-             </listitem>
+    <listitem>Utilizes the user's environment.  This schema is only supported
+             for setting the home directory yet.
+             See <xref linkend="ntsec-mapping-nsswitch-home"></xref> for
+             the description.</listitem>
   </varlistentry>
 </variablelist>
 
@@ -1352,7 +1348,7 @@ of each schema when used with <literal>db_home:</literal>
              environment variable <literal>HOME</literal> (falling back to
              <literal>HOMEDRIVE\HOMEPATH</literal> and
              <literal>USERPROFILE</literal>, in that order).  This is faster
-             than the <term><literal>windows</literal></term> schema at the
+             than the <literal>windows</literal> schema at the
              expense of determining only the current user's home directory
              correctly.  This schema is skipped for any other account.
              </listitem>

Reply via email to