projects
/
m6w6
/
ext-psi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
195175b
)
fix access of stat.st_mtime
author
Michael Wallner
<mike@php.net>
Mon, 10 Dec 2018 09:46:53 +0000
(10:46 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 10 Dec 2018 09:46:53 +0000
(10:46 +0100)
src/parser.c
patch
|
blob
|
history
diff --git
a/src/parser.c
b/src/parser.c
index aa9b5399c2d347786ba40ff714c97a8727c9329f..d133cfb475cd394bba4a3bf5953daa02ba4a57d7 100644
(file)
--- 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_mtim
e
;
fb->length = sb.st_size;
fb->file = psi_string_init_interned(filename, strlen(filename), 1);