665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
|
blob_append_escaped_arg(&cmd, blob_str(&nameFile1), 1);
}else{
blob_append_escaped_arg(&cmd, blob_str(&nameFile1), 1);
blob_append_escaped_arg(&cmd, zFile2, 1);
}
/* Run the external diff command */
if( fossil_system(blob_str(&cmd)) ){
#if !defined(_WIN32)
/* On Windows, exit codes are unreliable. */
fossil_warning("External diff command failed: %b\n", &cmd);
#endif
}
/* Delete the temporary file and clean up memory used */
if( useTempfile ) file_delete(blob_str(&nameFile1));
blob_reset(&nameFile1);
blob_reset(&cmd);
}
}
|
|
<
<
<
<
<
|
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
|
blob_append_escaped_arg(&cmd, blob_str(&nameFile1), 1);
}else{
blob_append_escaped_arg(&cmd, blob_str(&nameFile1), 1);
blob_append_escaped_arg(&cmd, zFile2, 1);
}
/* Run the external diff command */
fossil_system(blob_str(&cmd));
/* Delete the temporary file and clean up memory used */
if( useTempfile ) file_delete(blob_str(&nameFile1));
blob_reset(&nameFile1);
blob_reset(&cmd);
}
}
|