Previously Joey Hess wrote:
> if (lstat(pathname,&stab)) return -1;
> if (S_ISREG(stab.st_mode) ? (stab.st_mode | 07000) :
> !(S_ISLNK(stab.st_mode) || S_ISDIR(stab.st_mode) ||
> S_ISFIFO(stab.st_mode) || S_ISSOCK(stab.st_mode))) {
You found a nice little bug in there: (stab.st_mode | 07000) should be
(stab.st_mode & 07000). I guess it's time for a new NMU..
Wichert.
--
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wichert@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/
Attachment:
pgpG77dcczSY5.pgp
Description: PGP signature