I'm trying to get the pkg_* tools to build on a wide variety of platforms for the openpackages project. My current hurdle is the fchdir() calls - before I go and dig thru the code to see if it will be hard to convert these, does anybody here have an idea how hard it would be to lose them? I'm having to supply fnmatch() and reg*() already. H