forwarded 445210 http://sourceware.org/bugzilla/show_bug.cgi?id=5103
severity 445210 minor
thanks
On Thu, Oct 04, 2007 at 08:44:24AM +0000, Herbert Xu wrote:
> reopen 445210
> quit
>
> On Thu, Oct 04, 2007 at 08:27:04AM +0000, Debian Bug Tracking System wrote:
> >
> > and the test case on http://sourceware.org/bugzilla/show_bug.cgi?id=3996 works
> > as well.
> >
> > Please check your environment, the libc works.
>
> There were other tests in the bug report.
Wonderful, next time please bother pointing to the one that fails
directly, that helps avoid losing time.
> $ cat a.c
> #include <glob.h>
> #include <stdio.h>
>
> int main() {
> glob_t pglob;
> printf("%d\n", glob("\\/*", 0, 0, &pglob));
> printf("%d\n", glob("/*", 0, 0, &pglob));
> return 0;
> }
> $ make a
> cc a.c -o a
> $ ./a
> 3
> 0
FWIW it seems that the remaining issue is with patterns of the form:
"\\/" followed by any globbing char (*, ?, ...). Else I've not been
able to make it fail. As in that case \\ is definitely not significant,
I've lowered the severity.
Cheers,
--
·O· Pierre Habouzit
··O madcoder@debian.org
OOO http://www.madism.org
Attachment:
pgpjeBDhcYDcu.pgp
Description: PGP signature