pkgsrc-wip/uqwk/patches/patch-aa
2006-05-14 08:28:30 +00:00

15 lines
418 B
Text

$NetBSD: patch-aa,v 1.2 2006/05/14 08:28:30 gschwarz Exp $
# from Debian project (Debian bug #179892)
--- mail.c.orig 2005-04-06 17:05:19.000000000 +0200
+++ mail.c 2005-04-06 17:05:56.000000000 +0200
@@ -52,7 +52,7 @@
{
struct stat st;
- return (stat((char*)s,&st)!=EOF && !(st.st_mode & S_IFDIR));
+ return (stat((char*)s,&st)!=EOF && (st.st_mode & S_IFDIR));
}
#define strend(x) ((x) + strlen(x))