Fix excludes pattern matching

This commit is contained in:
Martin Lund 2024-04-27 01:31:35 +02:00
parent 6e779a0520
commit c61d56935b
3 changed files with 18 additions and 50 deletions

View file

@ -36,4 +36,4 @@ unsigned long djb2_hash(const unsigned char *str);
char *base62_encode(unsigned long num);
int read_poll(int fd, void *data, size_t len, int timeout);
double get_current_time(void);
bool match_any_pattern(const char *str, const char *patterns);
bool match_patterns(const char *string, const char *patterns);