cvs commit: src/usr.bin/tar write.c

Kris Kennaway kris at obsecurity.org
Thu May 3 17:10:04 UTC 2007


On Thu, May 03, 2007 at 09:29:52AM -0400, Mikhail T. wrote:
> Kris Kennaway wrote:
> >On Wed, May 02, 2007 at 09:34:05PM -0700, Colin Percival wrote:
> >  
> >>Rong-en Fan wrote:
> >>    
> >>>On 3/15/07, Colin Percival <cperciva at 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
> >>    
> >
> >Thanks, I think mi@ ran into this recently too.
> >  
> So, this is fixed now?

A bug is fixed, dunno off-hand it's the one you ran into.

> I guess, the fears, that fixing it would require 
> fixing multitude of ports, were somewhat ungrounded.

Relax, it was just a guess.

Kris


More information about the cvs-all mailing list