Ignore:
Timestamp:
Sep 29, 2009, 1:48:32 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • Improve deplist.d/* files
  • adds libnss for ssh support in boot disk
  • Solve a memory management issue in DSF module (strtok => mr_strtok)
  • DSF now also supports partitions in addition to full disks
  • Adds debug in open_and_list_dir
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-filelist.c

    r2418 r2436  
    13501350    /* dir is needed when we pass it to the shell */
    13511351    dir = mr_stresc(dir1, "`$\\\"(){}'[]&*?|!#~", '\\');
    1352     p = strrchr(dir, '/');
     1352    p = strrchr(dir1, '/');
    13531353    if (p) {
    13541354        if (!strcmp(p, "/.") || !strcmp(p, "/..")) {
     
    14041404                    g_skeleton_filelist, g_skeleton_filelist);
    14051405//        log_msg(6, "fsm = %s", find_skeleton_marker);
    1406             run_program_and_log_output(find_skeleton_marker, 8);
     1406            paranoid_system(find_skeleton_marker);
    14071407            time(&this_time);
    14081408            if (this_time != last_time) {
     
    14341434        paranoid_free(tmp);
    14351435    } else if (strstr(skip_these, new_with_spaces)) {
     1436        log_msg(10, "Found dir ***%s**** excluded", dir1);
    14361437        fprintf(fout, "%s\n", dir1);    // if excluded dir then print dir ONLY
    14371438    } else {
     1439        log_msg(10, "Found dir ***%s**** parsed", dir1);
    14381440        fprintf(fout, "%s\n", dir1);
    14391441        while ((dit = readdir(dip)) != NULL) {
     
    14481450            if (strstr(skip_these, new_with_spaces)) {
    14491451                fprintf(fout, "%s\n", new);
     1452                log_msg(10, "Found child dir ***%s**** excluded", new);
    14501453                paranoid_free(new_with_spaces);
    14511454            } else {
     
    14541457                    if (!S_ISLNK(statbuf.st_mode)
    14551458                        && S_ISDIR(statbuf.st_mode)) {
     1459                        log_msg(10, "Found child dir ***%s**** parsed", new);
    14561460                        open_and_list_dir(new, skip_these, fout,
    14571461                                          time_of_last_full_backup);
     
    14601464                            || time_of_last_full_backup <
    14611465                            statbuf.st_ctime) {
     1466                            log_msg(10, "Found child file ***%s**** parsed", new);
    14621467                            fprintf(fout, "%s\n", new);
    14631468                            if ((counter++) > 128) {
Note: See TracChangeset for help on using the changeset viewer.