openbsd-ports/www/p5-Apache-ASP/patches/patch-ASP_pm

13 lines
383 B
Plaintext

$OpenBSD: patch-ASP_pm,v 1.1 2002/11/22 12:21:48 naddy Exp $
--- ASP.pm.orig Fri Nov 22 13:12:02 2002
+++ ASP.pm Fri Nov 22 13:12:11 2002
@@ -537,7 +537,7 @@ sub FileId {
my @inode_stat = ();
if($self->{inode_names}) {
@inode_stat = stat($file);
- unless($inode_stat[0] && $inode_stat[1]) {
+ unless($inode_stat[0] || $inode_stat[1]) {
@inode_stat = ();
}
}