public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin/main] Cygwin: doc: fix description of new "env" schema for /etc/nsswitch.conf
Date: Wed, 29 Mar 2023 08:35:10 +0000 (GMT)	[thread overview]
Message-ID: <20230329083510.855C83857C4F@sourceware.org> (raw)

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

commit 93b05a87c22ba410e1bac20dddcbcb26956befbc
Author:     Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Wed Mar 29 10:34:30 2023 +0200
Commit:     Corinna Vinschen <corinna@vinschen.de>
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 <corinna@vinschen.de>

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	other threads:[~2023-03-29  8:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20230329083510.855C83857C4F@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /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).