From 65c1b92bb836a60e83ebd2bd3129acffcaa02420 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 3 Apr 2009 11:08:39 +0000 Subject: Proper resetting of memory. Array boundary fixed (-W). --- man.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'man.c') diff --git a/man.c b/man.c index 99af2012..e99353ed 100644 --- a/man.c +++ b/man.c @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.14 2009/04/02 06:51:44 kristaps Exp $ */ +/* $Id: man.c,v 1.15 2009/04/03 11:08:39 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -62,12 +62,14 @@ man_meta(const struct man *m) } -void +int man_reset(struct man *man) { man_free1(man); man_alloc1(man); + /* TODO */ + return(1); } -- cgit v1.2.3