On Tue, Sep 02, 2008 at 10:41:03AM +0100, Darren J Moffat wrote: > I can't work out a case where $PWD would be valid yet os.getcwd() failed. > Surely $PWD is less useful than os.getcwd() since if the later failed > chances are $PWD was just the value it would have returned if the directory > hadn't been removed.
All we need is a path -- it doesn't actually need to exist. The point is, if you're sitting in a directory that's part of an image -- even if that directory gets removed from underneath you, you're still underneath the image root, and the path is still valid for our purposes. Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
