Merge branch 'rs/strbuf-getwholeline-fix'
commit0c493966ff6af8d2217aaa40dd6f7916bd992b0a
authorJunio C Hamano <gitster@pobox.com>
Tue, 22 Aug 2017 17:29:15 +0000 (22 10:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Aug 2017 17:29:15 +0000 (22 10:29 -0700)
tree1774f32283a00734ac2739d0343dc7bf4c37bc5d
parente2a2a1daacb43d8296baf155ae6ea0ec6e2f2b8d
parent642956cf455ff8635be32b3160b12369da73cfe2
Merge branch 'rs/strbuf-getwholeline-fix'

A helper function to read a single whole line into strbuf
mistakenly triggered OOM error at EOF under certain conditions,
which has been fixed.

* rs/strbuf-getwholeline-fix:
  strbuf: clear errno before calling getdelim(3)
strbuf.c