Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2006 11:13:08 +0000 (UTC)
From:      Peter Edwards <peadar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/tar tree.c
Message-ID:  <200602221113.k1MBD8J0034108@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
peadar      2006-02-22 11:13:08 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tar          tree.c 
  Log:
  If opendir(".") fails after descending into a subdirectory via
  chdir(), be sure to undo the effects of the chdir before continuing.
  
  Without this, after hitting a directory with mode 0111 (for example),
  tar will get lost, and won't add any yet unvisted files to your
  archive.  (Or possibly add the wrong files, I suppose...)
  
  Reviewed By: kientzle@
  
  Revision  Changes    Path
  1.3       +2 -1      src/usr.bin/tar/tree.c



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