diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-07-06 13:32:02 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-07-06 13:32:02 +1000 |
commit | 872517ddbb72deaff31d4760f28f2b0a1c16358f (patch) | |
tree | 1939ac91eba31eca9a690342223fa9930b7795b8 /misc.h | |
parent | 3deb56f7190a414dc264e21e087a934fa1847283 (diff) |
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@
Diffstat (limited to 'misc.h')
0 files changed, 0 insertions, 0 deletions