------- Comment #13 from jakub at gcc dot gnu dot org 2010-09-08 14:48 ------- And, getdelim insist on allocating resp. reallocating the buffer. That is of course usually desirable when used from C, but I'm afraid it isn't in this case, where you have user provided buffer with fixed size. You don't want to read more than that size, while getdelim will read any amount of data.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45574