[Rpm-maint] [rpm-software-management/rpm] Make configure cope with multiple users/groups with ID 0 (#377)

Mike Crowe notifications at github.com
Thu Jan 4 14:52:34 UTC 2018

If /etc/passwd contains multiple users with UID 0 then user_with_uid0 will
contain a line feed which results in config.h containing:

 #define UID_0_USER "root

(i.e. without a closing quote.)

The same problem occurs with /etc/group.

Let's only emit the first match in each case so that there is only ever a
single result.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Make configure cope with multiple users/groups with ID 0

-- File Changes --

    M configure.ac (4)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180104/65b762f1/attachment.html>

More information about the Rpm-maint mailing list