hpcloud / tail

Go package for reading from continously updated files (tail -f)
MIT License
2.71k stars 503 forks source link

add lock around tail.reader to prevent race #114

Open phemmer opened 7 years ago

phemmer commented 7 years ago

Prevents a race condition on tail.reader. All the reads on this variable are protected by a lock, but the write isn't.

akshaymoghe commented 6 years ago

bump