[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27640: Bug-report
From: |
Paul Eggert |
Subject: |
bug#27640: Bug-report |
Date: |
Mon, 10 Jul 2017 12:08:50 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Looking at that test's source code, the test was clearly incorrect for
Unix-like systems, as it incorrectly assumed a 1-1 mapping between user
names and user IDs. I fixed that in Gnulib by installing the attached
patch. Wolfgang, could you please try this on your Linux from Scratch
system? You can do that by downloading these two files:
http://git.savannah.gnu.org/cgit/gnulib.git/plain/tests/test-getlogin.c
http://git.savannah.gnu.org/cgit/gnulib.git/plain/tests/test-getlogin_r.c
Use the first to replace the existing test-getlogin.c in your coreutils
source directory, and put the second next to the first.
0001-getlogin-don-t-assume-one-name-per-uid.patch
Description: Text Data