K 10 svn:author V 5 mckay K 8 svn:date V 27 1998-01-15T13:52:55.000000Z K 7 svn:log V 253 Return the correct errno from getcwd() even if free() or closedir() overwrites it. This actually showed up when running under an old kernel when free() called the madvise() stub which set errno, causing getcwd() to return EOPNOTSUPP instead of ERANGE. END