Jim Meyering <jim <at> meyering.net> writes: > > Right. > I did a survey, some time ago, of reasonable porting targets, and all > had fchdir. Eventually I should remove the test for fchdir, too.
FYI, mingw is another relatively-active porting target that lacks fchdir, which would benefit from a good fchdir replacement. As to whether you consider mingw a reasonable porting target, that's a different question (native Windows tends to be quite far from POSIX to make it a very difficult porting task). -- Eric Blake