diff options
Diffstat (limited to 'mail/imap-uw/patches/patch-bd')
-rw-r--r-- | mail/imap-uw/patches/patch-bd | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/mail/imap-uw/patches/patch-bd b/mail/imap-uw/patches/patch-bd index 62f7d74d5a5..aab006b5072 100644 --- a/mail/imap-uw/patches/patch-bd +++ b/mail/imap-uw/patches/patch-bd @@ -1,6 +1,6 @@ -$NetBSD: patch-bd,v 1.2 2007/08/03 17:03:32 obache Exp $ +$NetBSD: patch-bd,v 1.3 2014/07/18 10:40:28 ryoon Exp $ ---- src/dmail/dmail.c.orig 2007-06-18 23:34:41.000000000 +0000 +--- src/dmail/dmail.c.orig 2011-07-23 00:19:57.000000000 +0000 +++ src/dmail/dmail.c @@ -29,7 +29,6 @@ #include <stdio.h> @@ -10,3 +10,13 @@ $NetBSD: patch-bd,v 1.2 2007/08/03 17:03:32 obache Exp $ #include <sysexits.h> #include <sys/file.h> #include <sys/stat.h> +@@ -438,7 +437,9 @@ int delivery_unsafe (char *path,struct s + case S_IFCHR: strcat (tmp,"character special"); break; + case S_IFBLK: strcat (tmp,"block special"); break; + case S_IFLNK: strcat (tmp,"symbolic link"); break; ++#if defined(S_IFSOCK) + case S_IFSOCK: strcat (tmp,"socket"); break; ++#endif + default: + sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); + } |