This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: NSS error reporting (bug 20532)


On 08/03/2017 12:28 PM, Florian Weimer wrote:
> (L) Carlos added NSS_STATUS_NOTFOUND with *errnop equals 0 as a
> documented special case to the manual, in commit
> d4e301c5c65393837e438b6d81feabfbfde7b9c7.  This contradicts (A).
> NSS_STATUS_NOTFOUND is handled implicitly by __nss_next2, which does not
> have access to the errno value, so I do not understand how this could work.
I must assume that (A) is not quite correct. I had two reproducers where
errno was propagated to the caller, and did result in observable differences?

-- 
Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]