PORTNAME= logrotate
PORTVERSION= 3.8.9
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= https://fedorahosted.org/releases/l/o/logrotate/
#include <limits.h>
#include <ctype.h>
#include <dirent.h>
@@ -680,6 +676,10 @@
static int globerr(const char *pathname, int theerr)
{
+ /* A missing directory is not an error, so return 0 */
+ if (theerr == ENOTDIR)
+ return 0;
+
glob_errno = theerr;
/* We want the glob operation to abort on error, so return 1 */