X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser.c;h=d133cfb475cd394bba4a3bf5953daa02ba4a57d7;hp=aa9b5399c2d347786ba40ff714c97a8727c9329f;hb=4bf8ff5e477da2fa4f82518bb947055c2c0374d6;hpb=ef4e043826e92afd32000b7d945cdf86a6e9a223 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);