From d02db892440499a072ea8c83c2370e9d9c103098 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 17 Mar 2008 09:05:21 +0000 Subject: clean up TODO file. No real code changes. --- libbb/appletlib.c | 1 + libbb/dump.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'libbb') diff --git a/libbb/appletlib.c b/libbb/appletlib.c index aade904..e2bb378 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c @@ -264,6 +264,7 @@ static void parse_config_file(void) s = buffer; if (!fgets(s, sizeof(buffer), f)) { /* Are we done? */ +// why? if (ferror(f)) { /* Make sure it wasn't a read error. */ parse_error("reading"); } diff --git a/libbb/dump.c b/libbb/dump.c index 5e43d42..4d6472e 100644 --- a/libbb/dump.c +++ b/libbb/dump.c @@ -95,7 +95,7 @@ static void rewrite(FS * fs) */ for (nconv = 0, fmtp = fu->fmt; *fmtp; nextpr = &pr->nextpr) { /* NOSTRICT */ - /* DBU:[dvae@cray.com] calloc so that forward ptrs start out NULL*/ + /* DBU:[dvae@cray.com] zalloc so that forward ptrs start out NULL*/ pr = xzalloc(sizeof(PR)); if (!fu->nextpr) fu->nextpr = pr; @@ -704,7 +704,7 @@ void bb_dump_add(const char *fmt) /* allocate a new format unit and link it in */ /* NOSTRICT */ - /* DBU:[dave@cray.com] calloc so that forward pointers start out NULL */ + /* DBU:[dave@cray.com] zalloc so that forward pointers start out NULL */ tfu = xzalloc(sizeof(FU)); *nextfu = tfu; nextfu = &tfu->nextfu; -- cgit v1.1