wok-next diff hardinfo/stuff/users.patch @ rev 2556

libmowgli-dev: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 12:33:11 2009 +0000 (2009-03-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hardinfo/stuff/users.patch	Thu Mar 26 12:33:11 2009 +0000
     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]);