* getcwd.c (AT_FDCWD): Work around a bug in Solaris 9 and 10, where