From: Michael Wallner Date: Mon, 10 Dec 2018 09:46:53 +0000 (+0100) Subject: fix access of stat.st_mtime X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=e918b10a9b5a8de154d12385665728f7408e5cc7;p=m6w6%2Fext-psi fix access of stat.st_mtime --- diff --git a/src/parser.c b/src/parser.c index aa9b539..d133cfb 100644 --- a/src/parser.c +++ b/src/parser.c @@ -102,7 +102,7 @@ struct psi_parser_input *psi_parser_open_file(struct psi_parser *P, memset(fb->buffer + sb.st_size, 0, psi_parser_maxfill()); - fb->lmod = sb.st_mtim.tv_sec; + fb->lmod = sb.st_mtime; fb->length = sb.st_size; fb->file = psi_string_init_interned(filename, strlen(filename), 1);