File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed
Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change 1- #include "myfnmatch.h"
2- #ifndef HAS_FNMATCH
31/*
4- * Lifted from musl commit efa9d396f9d3af6c6f85ec86302b48206c574a38,
5- * root/src/regex/fnmatch.c, under a GPLv3-compatible license.
6- *
7- * mfakto-specific changes: deleted unnecessary flags
8- * Copyright (c) 2025 Mingye Wang
2+ * Lifted from musl under a GPLv3-compatible license.
93 *
10- * musl (www.musl-libc.org)
11- * Copyright (C) 2012-2013 Rich Felker
4+ * Source repo: https://git.musl-libc.org/cgit/musl
5+ * Commit ID: efa9d396f9d3af6c6f85ec86302b48206c574a38
6+ * Path: src/regex/fnmatch.c
7+ *
8+ * musl
9+ * Home page: https://musl.libc.org
10+ * Copyright (c) 2012-2013 Rich Felker
1211 * SPDX-License-Identifier: MIT
1312 *
13+ * mfakto-specific changes: deleted unnecessary flags
14+ * Copyright (c) 2025 Mingye Wang
15+ */
16+ #include "myfnmatch.h"
17+ #ifndef HAS_FNMATCH
18+ /*
1419 * An implementation of what I call the "Sea of Stars" algorithm for
1520 * POSIX fnmatch(). The basic idea is that we factor the pattern into
1621 * a head component (which we match first and can reject without ever
You can’t perform that action at this time.
0 commit comments