d02608170e599b1ffbc7c9a22062bae2579d6e36 |
|
26-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util: remove lookup_uid(), replace by uid_to_name()
So far we had two pretty much identical calls in user-util.[ch]:
lookup_uid() and uid_to_name(). Get rid of the former, in favour of the
latter, and while we are at it, rewrite it, to use getpwuid_r()
correctly, inside an allocation loop, as POSIX intended. |