In article <20010921131729.A946 at wonderland.linux.it>, "Marco d'Itri" <md at Linux.IT> wrote; } I think it's a bad idea assuming the file does not exist when stat } fails, errno should be checked every time. Fixed. -- Katsuhiro Kondou