*
* Copyright (C) 1996 Andrew Tridgell
* Copyright (C) 1996 Paul Mackerras
- * Copyright (C) 2003-2007 Wayne Davison
+ * Copyright (C) 2003-2008 Wayne Davison
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*/
#include "rsync.h"
+#include "itypes.h"
#include "zlib/zlib.h"
extern int do_compression;
/* Move *.foo items into the stuffix tree. */
if (*start == '*' && start[1] == '.' && start[2]
- && !strchr(start+2, '.')) {
+ && !strpbrk(start+2, ".?*")) {
add_suffix(&suftree, start[2], start+3);
t = start;
}