the new source file, and fix a minor compiler warning in the
substitution code.
SVN-Revision: 91
PROG= bsdtar
BSDTAR_VERSION_STRING=2.5.3b
-SRCS= bsdtar.c getdate.y matching.c read.c siginfo.c tree.c util.c write.c
+SRCS= bsdtar.c getdate.y matching.c read.c siginfo.c subst.c tree.c util.c write.c
WARNS?= 5
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
LDADD= -larchive -lbz2 -lz
#endif
#define HAVE_PATHS_H 1
#define HAVE_PWD_H 1
+#define HAVE_REGEX_H 1
#define HAVE_SETLOCALE 1
#define HAVE_STDARG_H 1
#define HAVE_STDINT_H 1
break;
case '1' ... '9':
realloc_strncat(bsdtar, result, rule->result + j, i - j - 1);
- if (c - '0' > rule->re.re_nsub) {
+ if ((size_t)(c - '0') > (size_t)(rule->re.re_nsub)) {
free(*result);
*result = NULL;
return -1;