folkertvanheusden / multitail

Tail on steroids
https://vanheusden.com/multitail/
MIT License
121 stars 13 forks source link

rectify mt_started definition in globals.c instead of globals.h #11

Closed Schievel1 closed 1 year ago

Schievel1 commented 1 year ago

I think what I did there in #10 was wrong, because time() in mt.c (from time.h) [1] expects time_t. Since mt.c imports globals.h it will import the wrong dtime_t from there, which results in a wrong pointer conversion.

[1] https://github.com/folkertvanheusden/multitail/blob/2afd0230499bc98b569d70800d46a213d4e1501c/mt.c#L2773

Signed-off-by: Pascal Jäger pascal.jaeger@leimstift.de