[Bug libc/5103] New: still one (rather minor) issue with escaping in glob.
glob("%d\n", "\\/*", 0, 0, &buf) yields GLOB_NOMATCH where it should yield 0.
Though, glob("%d\n", "/\\/*", 0, 0, &buf) works correctly,
glob("%d\n", "\\/bin/*", 0, 0, &buf) as well.
it seems that the issue is with "\\/" directly followed by globbing chars
("\\/???" or "\\/??n" fail as well, where both should at least match /bin).
I've not been able to make it fail if the pattern wasn't of this form.
--
Summary: still one (rather minor) issue with escaping in glob.
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: madcoder at debian dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5103
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: