Herbert Xu 8f9cca055b expand: Always quote caret when using fnmatch
This patch forces ^ to be a literal when we use fnmatch.

In order to allow for the extra space to quote the caret, the
function _rmescapes will allocate up to twice the memory if the
flag RMESCAPE_GLOB is set.

Fixes: 7638476c18f2 ("shell: Enable fnmatch/glob by default")
Reported-by: Christoph Anton Mitterer <calestyo@scientia.org>
Suggested-by: Harald van Dijk <harald@gigawatt.nl>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-12-07 16:27:49 +08:00
2018-11-19 18:59:50 +08:00
2011-08-17 09:34:47 +08:00
2005-09-26 18:32:28 +10:00
2021-06-04 11:35:44 +08:00
Description
No description provided
2.1 MiB
Languages
C 69.3%
Roff 10.7%
Shell 9.6%
Makefile 8.8%
M4 1%
Other 0.6%