diff options
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 7d45b2cd2..802626d4e 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -57,6 +57,9 @@ | |||
57 | # error with backslash, even ones which do not need to be: "/a-b" -> "/a\-b" | 57 | # error with backslash, even ones which do not need to be: "/a-b" -> "/a\-b" |
58 | # error glob() should unbackslash them and match. uClibc does not unbackslash, | 58 | # error glob() should unbackslash them and match. uClibc does not unbackslash, |
59 | # error fails to match dirname, subsequently not expanding <pattern> in it. | 59 | # error fails to match dirname, subsequently not expanding <pattern> in it. |
60 | // Testcase: | ||
61 | // if (glob("/etc/polkit\\-1", 0, NULL, &pglob)) - this returns 0 on uclibc, no bug | ||
62 | // if (glob("/etc/polkit\\-1/*", 0, NULL, &pglob)) printf("uclibc bug!\n"); | ||
60 | #endif | 63 | #endif |
61 | 64 | ||
62 | #if !ENABLE_ASH_INTERNAL_GLOB | 65 | #if !ENABLE_ASH_INTERNAL_GLOB |