]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: stats: remove non portable getline() usage
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 17 May 2024 12:50:12 +0000 (14:50 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 17 May 2024 12:53:19 +0000 (14:53 +0200)
commitfbc3d46b9f8bdc21f1a9ff3fc5a5c7d42ecb7e21
treeab4a5db36fd3e221af91f0a2b488c9c12f5a57c9
parentef943c186d929e8feeba6f07ac21a5d1807dccdc
BUILD: stats: remove non portable getline() usage

getline() was used to read stats-file. However, this function is not
portable and may cause build issue on some systems. Replace it by
standard fgets().

No need to backport.
src/stats-file.c