* lib/getcwd.c (__getcwd): Undo previous change; it mishandled