Sat, 28 Mar 2020 15:58:30 +0100
cmd_edit - we do not need fstat() for detecting changes on the temporary file
dav/main.c | file | annotate | diff | comparison | revisions |
--- a/dav/main.c Sat Mar 28 15:53:44 2020 +0100 +++ b/dav/main.c Sat Mar 28 15:58:30 2020 +0100 @@ -1203,7 +1203,6 @@ // remember time s.t. we can later check if the file has changed SYS_STAT tmp_stat; - // TODO: maybe add sys_fstat if(sys_stat(outfile, &tmp_stat)) { perror("Cannot stat temporary file"); close(tmp_fd);