View | Details | Raw Unified | Return to bug 205716 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	logrotate
4
PORTNAME=	logrotate
5
PORTVERSION=	3.8.9
5
PORTVERSION=	3.8.9
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	sysutils
7
CATEGORIES=	sysutils
8
MASTER_SITES=	https://fedorahosted.org/releases/l/o/logrotate/
8
MASTER_SITES=	https://fedorahosted.org/releases/l/o/logrotate/
9
9
(-)files/patch-config.c (+11 lines)
Lines 9-11 Link Here
9
 #include <limits.h>
9
 #include <limits.h>
10
 #include <ctype.h>
10
 #include <ctype.h>
11
 #include <dirent.h>
11
 #include <dirent.h>
12
@@ -680,6 +676,10 @@
13
 
14
 static int globerr(const char *pathname, int theerr)
15
 {
16
+    /* A missing directory is not an error, so return 0 */
17
+    if (theerr == ENOTDIR)
18
+        return 0;
19
+
20
     glob_errno = theerr;
21
 
22
     /* We want the glob operation to abort on error, so return 1 */

Return to bug 205716