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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to