public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/google/grte/v5-2.27/master] Add a note about passwd.borg.base organization
@ 2021-08-28  0:41 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2021-08-28  0:41 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=91da896a3ed31b04ac85972c5dcacdf35fa7730b

commit 91da896a3ed31b04ac85972c5dcacdf35fa7730b
Author: Stan Shebs <stanshebs@google.com>
Date:   Wed Dec 5 11:10:03 2018 -0800

    Add a note about passwd.borg.base organization

Diff:
---
 nss/nss_borg/borg-pwd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nss/nss_borg/borg-pwd.c b/nss/nss_borg/borg-pwd.c
index 1f685ee443..a0eb0e3954 100644
--- a/nss/nss_borg/borg-pwd.c
+++ b/nss/nss_borg/borg-pwd.c
@@ -95,6 +95,7 @@ static enum nss_status _nss_borg_getpwent_r_locked(struct passwd *result,
     ret = NSS_STATUS_SUCCESS;
   } else if (
 	     // Yes, this is one of those cases where an assign makes sense.
+	     // NB: passwd.borg.base is not ordered by UID as of cl/201005022.
 	     fb != NULL && (result = sparecopy) && (fgetpwent_r(fb, result, buffer, buflen, &result) == 0)) {
     DEBUG("Returning base user %d:%s\n", result->pw_uid, result->pw_name);
     ret = NSS_STATUS_SUCCESS;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-28  0:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28  0:41 [glibc/google/grte/v5-2.27/master] Add a note about passwd.borg.base organization Fangrui Song

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).