* Fix for dir.c from Andreas Schwab.