From f9037a1785c3180d15edc8be6844551ca185f252 Mon Sep 17 00:00:00 2001 From: slavinp Date: Mon, 18 Aug 2014 11:53:13 +0100 Subject: [PATCH] IO errors now return bad, then exit through tidyexit. --- src/peakmem.c | 51 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 17 deletions(-) diff --git a/src/peakmem.c b/src/peakmem.c index c077171..7568473 100644 --- a/src/peakmem.c +++ b/src/peakmem.c @@ -219,11 +219,20 @@ int main(int argc, char *argv[]) writeHeaders(WIDTH, HEADTEXT_LEN, offset_ctrl, pid, pname); while(cstate){ + long long procret; for(key=0; key