Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2007 10:11:38 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/tar write.c
Message-ID:  <200703151011.l2FABc9Z013002@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cperciva    2007-03-15 10:11:38 UTC

  FreeBSD src repository

  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), since (a) it usually occurs
  due to a perfectly innocent (and unavoidable) race condition where a
  user deletes a file in the window between bsdtar reading a directory
  and attempting to read the file; and (b) aside from printing a warning
  message, bsdtar behaves exactly as if the file had been deleted prior
  to bsdtar reading its parent directory.
  
  Reviewed by:    kientzle
  MFC after:      6 days
  
  Revision  Changes    Path
  1.57      +0 -1      src/usr.bin/tar/write.c



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