> +      if (errno != EACCESS || stat (fullpath, &stat_s) != 0) {

Uh, oh, that should have been ENOENT of course. I changed the number 2
into text and haven't tested it afterwards. Sorry

-- 
        Vlad

Reply via email to