Subject: Re: pkg/37447: pkg_create failure in bulk build leaves truncated
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-bugs
Date: 11/29/2007 17:50:02
The following reply was made to PR pkg/37447; it has been noted by GNATS.
From: Roland Illig <rillig@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/37447: pkg_create failure in bulk build leaves truncated
.tgz file
Date: Thu, 29 Nov 2007 18:47:18 +0100
Joerg Sonnenberger wrote:
> On Thu, Nov 29, 2007 at 11:00:01AM +0000, Andreas Gustafsson wrote:
> > Make pkg_create unlink the package .tgz file on failure.
>
> I don't think it should do that.
I think it should. Having a broken file is worse than having no file at all.
Why don't you think it should do that?
Roland