mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
[build] fix for linux
This commit is contained in:
parent
2d33cb7f7e
commit
76bc85c43b
@ -136,7 +136,7 @@ void logfile::process_prefix(off_t offset, char *prefix, int len)
|
||||
++iter) {
|
||||
(*iter)->lf_base_time = this->lf_line_buffer.get_file_time();
|
||||
if ((*iter)->lf_base_time == 0) {
|
||||
(*iter)->lf_base_time = this->lf_stat.st_mtimespec.tv_sec;
|
||||
(*iter)->lf_base_time = this->lf_stat.st_mtime;
|
||||
}
|
||||
(*iter)->clear();
|
||||
if ((*iter)->scan(this->lf_index, offset, prefix, len)) {
|
||||
|
Loading…
Reference in New Issue
Block a user