Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 1999 00:07:18 -0600
From:      Wes Peters <wes@softweyr.com>
To:        Greg Black <gjb-freebsd@gba.oz.au>
Cc:        cjclark@home.com, FreeBSD Security <freebsd-security@FreeBSD.ORG>
Subject:   Re: Secure Deletion
Message-ID:  <3775BF96.7C5E11BD@softweyr.com>
References:  <199906250212.WAA07810@cc942873-a.ewndsr1.nj.home.com>  <3773F67A.CC9B6215@softweyr.com> <19990626213426.7899.qmail@alice.gba.oz.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Black wrote:
> 
> Given that there is a bunch of error conditions that are checked
> for and which may cause the program to abort, surely making it
> report success on exit, regardless of what actually happened, is
> a Bad Thing?
> 
> It would be trivial to make obliterate() return an int (e.g., 1
> for an error and 0 for success).  This would then give us a
> main() like this (with a refinement to process the arguments in
> the order given rather than backwards, because I don't like to
> surprise people):

Yes, that would be a good thing to do.  Whaddya expect for a program
written while editing a mail message?  ;^)

You should've actually fixed the program and added yourself into 
the comments somewhere.  Maybe I'll do it tomorrow.  Thanks for
the tips!

-- 
       "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                 Softweyr LLC
http://www.softweyr.com/~softweyr                      wes@softweyr.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3775BF96.7C5E11BD>