[803] in NetBSD-Development
Re: Modified make semantics
daemon@ATHENA.MIT.EDU (John Kohl)
Tue Jun 20 08:12:50 1995
Date: Tue, 20 Jun 1995 08:12:17 -0400
From: John Kohl <jtk@atria.com>
To: ghudson@MIT.EDU
Cc: netbsd-dev@MIT.EDU
In-Reply-To: <199506200622.CAA09111@glacier.MIT.EDU> (message from Greg Hudson on Tue, 20 Jun 1995 02:22:03 -0400)
>>>>> "Greg" == Greg Hudson <ghudson@MIT.EDU> writes:
Greg> The current implementation of canonicalize() is pretty lame;
Greg> it does a popen() to do a cd and getcwd(). I didn't want to
Greg> change directories and call getcwd() because I might not be
Greg> able to change back in some psychotic cases, ...
Open `.' and save the file descriptor. Then chdir() and getcwd(), and
fchdir(2) back to the starting point when done.
==John