/* $OpenBSD: match.c,v 1.1 1997/09/15 06:01:53 downsj Exp $ */ /* * 27-Mar-96: Jan-Piet Mens * added 'match' option (-m) to specify regular expressions NOT to be included * in the CD image. */ static char rcsid[] ="$From: match.c,v 1.2 1997/02/23 16:10:42 eric Rel $"; #include #ifndef VMS #ifdef HAVE_MALLOC_H #include #else #include #endif #endif #include #include "match.h" #define MAXMATCH 1000 static char *mat[MAXMATCH]; void add_match(fn) char * fn; { register int i; for (i=0; mat[i] && i excluded filenmae */ } } return 0; /* not found -> not excluded */ }