Skip to content

Commit

Permalink
do not touch unchanged files
Browse files Browse the repository at this point in the history
  • Loading branch information
blackav committed May 9, 2024
1 parent 02095a4 commit ddff212
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/lang_config_vis.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,11 +524,11 @@ update_language_script(
fclose(f); f = 0;
if (!strcmp(out_t, in_t)) {
// no difference, but update the modtime
if (utime(script_out, 0) < 0) {
log_printf(err_f, win, "error: cannot change mod time for `%s'\n",
script_out);
// error
}
//if (utime(script_out, 0) < 0) {
// log_printf(err_f, win, "error: cannot change mod time for `%s'\n",
// script_out);
// // error
//}
goto cleanup;
}
xfree(out_t); out_t = 0;
Expand Down

0 comments on commit ddff212

Please sign in to comment.