From c1b29492c551f43aa2b5385e60f8b6461e483f91 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 16 May 2004 14:08:34 +0000 Subject: [PATCH] Moved the setting of ret->match_flags up a little in make_exclude(). --- exclude.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exclude.c b/exclude.c index 78d9c8ce..1bfbf82f 100644 --- a/exclude.c +++ b/exclude.c @@ -84,14 +84,14 @@ static void make_exclude(struct exclude_list_struct *listp, const char *pat, for (cp = ret->pattern; (cp = strchr(cp, '/')) != NULL; cp++) ret->slash_cnt++; + ret->match_flags = mflags; + if (!listp->tail) listp->head = listp->tail = ret; else { listp->tail->next = ret; listp->tail = ret; } - - ret->match_flags = mflags; } static void free_exclude(struct exclude_struct *ex) -- 2.34.1