Subject: Re: fchdir() calls in pkg_*
To: Harlan Stenn <stenn@whimsy.udel.edu>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 08/15/2001 07:34:27
On Wed, 15 Aug 2001, Harlan Stenn wrote:
> Will I need to chase symlinks?

Probably not. Maybe make sure you understand what the code does:
It just grabs a file descriptor of the directory I want to skip back to
later, by using open(2). I then just fchdir() to that descriptor, that's
all. No symlinks involved here. ;)


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html 
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/