Merge branch 'rs/strbuf-getwholeline-fix' into maint
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2017 05:18:57 +0000 (14:18 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2017 05:18:58 +0000 (14:18 +0900)
commit6c9d19598d67008584132103f083a8badbd90d19
tree9daaf51f8014fa918e44a86158f290bb6df44a66
parent4010f1d1b782eb7585e0e0abcefa794bd5ff29a0
parent642956cf455ff8635be32b3160b12369da73cfe2
Merge branch 'rs/strbuf-getwholeline-fix' into maint

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