1 --- script.c.old 2006-09-30 11:12:32.000000000 -0400
2 +++ script.c 2006-09-30 11:12:38.000000000 -0400
4 /* add only new files in the global dir */
5 if((dir = opendir(global_dir))) {
6 while((ent = readdir(dir))) {
7 - if(ent->d_name[0] != '.') {
8 - for(l = filenames; l; l = g_list_next(l)) {
9 - if(strcmp((char *) l->data, ent->d_name) == 0)
12 - files = g_list_append(files,
13 - g_strconcat(global_dir, "/",
14 - ent->d_name, NULL));
18 + if(ent->d_name[0] != '.') {
20 + for(l = filenames; l; l = g_list_next(l)) {
21 + if(strcmp((char *) l->data, ent->d_name) == 0)
29 + files = g_list_append(files,
30 + g_strconcat(global_dir, "/",
31 + ent->d_name, NULL));