wok diff hardinfo/stuff/users.patch @ rev 2701

Up: glibc (2.9)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 22 18:22:46 2009 +0200 (2009-04-22)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hardinfo/stuff/users.patch	Wed Apr 22 18:22:46 2009 +0200
     1.3 @@ -0,0 +1,11 @@
     1.4 +--- arch/common/users.h	Sun Nov  4 14:14:35 2007
     1.5 ++++ arch/common/users.h	Sun Apr 20 23:57:31 2008
     1.6 +@@ -44,7 +44,7 @@
     1.7 + 
     1.8 +       uid = atoi(tmp[2]);
     1.9 +       strend(tmp[4], ',');
    1.10 +-      if (uid >= 1000 && uid <= 65530) {
    1.11 ++      if (uid >= 500 && uid <= 65530) {
    1.12 +         human_users = h_strdup_cprintf("$%s$%s=%s\n", human_users, key, tmp[0], tmp[4]);
    1.13 +       } else {
    1.14 +         sys_users = h_strdup_cprintf("$%s$%s=%s\n", sys_users, key, tmp[0], tmp[4]);