@dmnks commented on this pull request.


>  
     return 0;
 }
 
 const char * rpmugUname(uid_t uid)
 {
-    static uid_t lastUid = (uid_t) -1;
-    static char * lastUname = NULL;
-
-    if (uid == (uid_t) -1) {
-       lastUid = (uid_t) -1;

Ah, this is not needed now that we have a `struct`, of course. Nevermind the 
above :sweat_smile: 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2843#discussion_r1457778721
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2843/review/1830234...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to