]> diplodocus.org Git - nmh/commit
eliminate use of fgets() in mhbuild.c
authorPaul Fox <pgf@foxharp.boston.ma.us>
Thu, 8 May 2014 14:57:40 +0000 (10:57 -0400)
committerPaul Fox <pgf@foxharp.boston.ma.us>
Thu, 8 May 2014 16:54:04 +0000 (12:54 -0400)
commitb539bd46de3f83ffaa486e8f58090f04beda44f7
tree91dd8066eb214b22dd31e02ad8a3ea504e609e41
parent5be8db81945f540b9a33e94c9c708e608a8c1a47
eliminate use of fgets() in mhbuild.c

use getline() instead, which is more tolerant of NULs in the input.
also cleaned up error and file cleanup paths a bit.
uip/mhbuild.c