Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 1995 18:55:00 -0800
From:      "Jordan K. Hubbard" <jkh>
To:        CVS-commiters, cvs-usrsbin
Subject:   cvs commit: src/usr.sbin/pkg_install/add main.c perform.c
Message-ID:  <199511030255.SAA05540@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jkh         95/11/02 18:54:59

  Branch:      usr.sbin/pkg_install/add  RELENG_2_1_0
  Modified:    usr.sbin/pkg_install/add  main.c perform.c
  Log:
  These patches fix two problems :
  
  1 ) Tar was being called to process the archive after chdir()ing into the
      playpen, but the pathname given to it was uncorrected for the chdir().
      This is corrected by converting _all_ pathname arguments using
      realpath() (fileFindByPath() is used as a last-ditch attempt if the
      argument can't be found)
  
  2 ) min_free was being called on the saved invocation directory, not on
      the playpen at one point.  (There are currently two seperate space
      checks, one when the playpen is created, and one later.  This is
      harmless cruft)
  Submitted by:	Michael Smith <msmith@atrad.adelaide.edu.au>



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