www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/02/23/10:32:51

Date: Tue, 23 Feb 1999 10:32:47 -0500
Message-Id: <199902231532.KAA10643@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <199902230504.FAA82404@out1.ibm.net> (snowball3@usa.net)
Subject: Re: patches for chroot
References: <199902222318 DOT XAA128862 AT out5 DOT ibm DOT net> (snowball3 AT usa DOT net) <199902230504 DOT FAA82404 AT out1 DOT ibm DOT net>
Reply-To: djgpp-workers AT delorie DOT com

> So the string returned by getcwd should be adjusted if it is in the 
> directory tree set by chroot like below?
> 
> chroot ("c:/djgpp")
> getcwd would then return '/bin' if the cwd is 'c:/djgpp/bin'.

Something like that.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019