From: Matthieu Moy Date: Sun, 06 Mar 2011 19:29:11 GMT Subject: Re: [PATCH] unpack-trees.c: check return value of lstat() Message-ID: In-Reply-To: <201103062013.52793.tboegi@web.de> Torsten Bögershausen writes: > + if (!lstat(path, &st)) > + return check_ok_to_remove(path, len, DT_UNKNOWN, NULL, &st, > + error_type, o); > } else if (!lstat(ce->name, &st)) What happens if lstat returns a non-0 value? Anyway, this seems to have been fixed by a93e53018 (Wed Jan 12 20:28:09 2011, unpack-trees: handle lstat failure for existing file) already. -- Matthieu Moy http://www-verimag.imag.fr/~moy/