Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 May 2007 21:34:05 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        Rong-en Fan <grafan@gmail.com>
Cc:        cvs-src@freebsd.org, kientzle@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, portmgr@freebsd.org
Subject:   Re: cvs commit: src/usr.bin/tar write.c
Message-ID:  <4639663D.1020308@freebsd.org>
In-Reply-To: <6eb82e0705022031g3b959688k5fb63b6e441a6d86@mail.gmail.com>
References:  <200703151011.l2FABc9Z013002@repoman.freebsd.org> <6eb82e0705022031g3b959688k5fb63b6e441a6d86@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Rong-en Fan wrote:
> On 3/15/07, Colin Percival <cperciva@freebsd.org> wrote:
>>   Modified files:
>>     usr.bin/tar          write.c
>>   Log:
>>   Don't consider an lstat(2) failure to be an error (in the sense of
>>   affecting the return value from bsdtar) [...]
> 
> This commit makes 'make package' successfully even if the plist is
> wrong, i.e. it contains ``ghost'' files. Basically,
> 
> $ tar zcvf a.tgz /aaa
> tar: /aaa: Cannot stat: No such file or directory
> 
> It returns 0, so make package will be considered successful.

I've fixed this in revision 1.62.

Colin Percival



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4639663D.1020308>