diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-11-23 17:10:20 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-11-24 00:24:21 +0000 |
commit | 68c5eeccd0365a6953d292550ffa5c537fa00f90 (patch) | |
tree | 7bbe212d8531f85d20937202fa41640fb84c5a3d /src/fold.c | |
parent | 477a1e8ed493132e3741c5830c4bd30e19820951 (diff) | |
download | coreutils-68c5eeccd0365a6953d292550ffa5c537fa00f90.tar.xz |
tail: fix checking of remoteness when not using inotify
In recent commit v8.25-93-g7fc7206 we used the f->remote flag
which wasn't set in all cases. This was detected with
ASAN giving this error when reading f->remote;
runtime error: load of value 190,
which is not a valid value for type '_Bool'
* src/tail.c (fremote): Query the system even without inotify.
(recheck): Always set f->fremote for valid files.
Diffstat (limited to 'src/fold.c')
0 files changed, 0 insertions, 0 deletions