From: "A. Wilcox" <awilfox@adelielinux.org>
To: musl@lists.openwall.com
Subject: Re: <shadow.h> function: fgetspent_r
Date: Sun, 20 Jan 2019 16:02:56 -0600 [thread overview]
Message-ID: <10a2da9b-e397-6d41-cdc1-cc3c9da6b813@adelielinux.org> (raw)
In-Reply-To: <20190120154154.GA23924@voyager>
[-- Attachment #1.1: Type: text/plain, Size: 573 bytes --]
On 01/20/19 09:41, Markus Wichmann wrote:
> + int res = 0;
This needs to be EIO; 0 means success, and causes AccountsService to
dereference the NULL that it receives when the file is exhausted (no
more lines).
Other than this, basic functionality seems to work. I need to port
KDE's User Manager from logind to ConsoleKit2 before I can test it
fully, but listing (the part that uses fgetspent_r) gives the correct list.
Thank you again!
Best to you and yours,
--arw
--
A. Wilcox (awilfox)
Project Lead, Adélie Linux
https://www.adelielinux.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2019-01-20 22:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-16 19:21 A. Wilcox
2019-01-16 20:50 ` Rich Felker
2019-01-16 21:38 ` A. Wilcox
2019-01-16 23:44 ` Rich Felker
2019-01-17 5:31 ` Markus Wichmann
2019-01-17 15:38 ` Rich Felker
2019-01-18 20:37 ` Markus Wichmann
2019-01-20 15:41 ` Markus Wichmann
2019-01-20 21:12 ` A. Wilcox
2019-01-21 0:50 ` Rich Felker
2019-01-20 22:02 ` A. Wilcox [this message]
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=10a2da9b-e397-6d41-cdc1-cc3c9da6b813@adelielinux.org \
--to=awilfox@adelielinux.org \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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 NNTP newsgroup(s).