Return to magic-load.c CVS log | Up to [local] / src / usr.bin / file |
version 1.23, 2016/05/01 14:57:15 | version 1.24, 2017/04/18 14:16:48 | ||
---|---|---|---|
|
|
||
static int | static int | ||
magic_set_result(struct magic_line *ml, const char *s) | magic_set_result(struct magic_line *ml, const char *s) | ||
{ | { | ||
const char *fmt; | const char *fmt, *endfmt, *cp; | ||
const char *endfmt; | |||
const char *cp; | |||
regex_t *re = NULL; | regex_t *re = NULL; | ||
regmatch_t pmatch; | regmatch_t pmatch; | ||
size_t fmtlen; | size_t fmtlen; |