]> git.kaiwu.me - haproxy.git/commit
[BUG] halog: correctly handle truncated last line
authorWilly Tarreau <w@1wt.eu>
Sat, 9 Jul 2011 12:28:01 +0000 (14:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 11 Jul 2011 04:48:02 +0000 (06:48 +0200)
commit812e7a73b2d697911b31f612b5f2352343d85614
tree56c9c93619ed583f935099475241f678246181ab
parentb3eb221e78a64dced641907f0f8c6bc651ad0ea8
[BUG] halog: correctly handle truncated last line

If last line is truncated (eg: truncated file), then halog would loop on
it forever.
contrib/halog/fgets2-64.c
contrib/halog/fgets2.c