Oops, fix test. Pointed out by Matt Fleming, thanks!
This commit is contained in:
parent
4b7ccf17f9
commit
d2a7cc99dc
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: veriexecgen.c,v 1.4 2006/09/18 20:53:48 elad Exp $ */
|
/* $NetBSD: veriexecgen.c,v 1.5 2006/09/19 20:37:08 elad Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2006 The NetBSD Foundation, Inc.
|
* Copyright (c) 2006 The NetBSD Foundation, Inc.
|
||||||
@ -171,7 +171,7 @@ add_new_entry(FTSENT *file, struct hash *hash)
|
|||||||
} else
|
} else
|
||||||
sb = *file->fts_statp;
|
sb = *file->fts_statp;
|
||||||
|
|
||||||
if (!aflag && !Dflag && IS_EXEC(sb.st_mode))
|
if (!aflag && !Dflag && !IS_EXEC(sb.st_mode))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
e = ecalloc(1UL, sizeof(*e));
|
e = ecalloc(1UL, sizeof(*e));
|
||||||
|
Loading…
Reference in New Issue
Block a user