The attached patch should fix the permissions problem (there was
a typo in a variable name).

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
--- cmds.c.old  2006-01-06 19:44:21.000000000 +0100
+++ cmds.c      2006-02-02 16:14:00.000000000 +0100
@@ -257,7 +257,6 @@
 int parse_userdb(struct g_data_s *g_data, char *dblist)
 {
        char *tmp_ptr = NULL;
-       int i = 0;
        struct stat db_stat;
        int last_sgid = 0;
        int ret = 1;
@@ -354,8 +353,8 @@
 
                        if (i_pos != last_sgid) {
                                tmp_ptr = g_data->input_db[last_sgid];
-                               g_data->input_db[last_sgid] = 
g_data->input_db[i];
-                               g_data->input_db[i] = tmp_ptr;
+                               g_data->input_db[last_sgid] = 
g_data->input_db[i_pos];
+                               g_data->input_db[i_pos] = tmp_ptr;
                        }
                        
                        last_sgid += 1;

Reply via email to