History log of /openssh-portable/openbsd-compat/bsd-getline.c (Results 1 – 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: V_8_6_P1, V_8_5_P1, V_8_4_P1, V_8_3_P1, V_8_2_P1, V_8_1_P1, V_8_0_P1, V_7_9_P1, V_7_8_P1
# 872517dd 05-Jul-2018 Darren Tucker

Defer setting bufsiz in getdelim.

Do not write to bufsiz until we are sure the malloc has succeeded,
in case any callers rely on it (which they shouldn't). ok djm@


# 6301e6c7 02-Jul-2018 Darren Tucker

Add implementation of getline.

Add getline for the benefit of platforms that don't have it. Sourced
from NetBSD (OpenBSD's implementation is a little too chummy with the
internals of FILE).