Ignore:
Timestamp:
Sep 9, 2009, 12:37:59 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • replace system("sync") by sync() calls
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-verify.c

    r2357 r2376  
    9292
    9393    mr_asprintf(afio_found_changes, "%s.afio", ignorefiles_fname);
    94     paranoid_system("sync");
     94    sync();
    9595
    9696    log_msg(1, "Now scanning log file for 'afio: ' stuff");
     
    11771177    retval += verify_biggiefiles_from_stream();
    11781178/* find the final blocks */
    1179     paranoid_system("sync");
     1179    sync();
    11801180    sleep(2);
    11811181    closein_tape();
Note: See TracChangeset for help on using the changeset viewer.