This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5103] New: still one (rather minor) issue with escaping in glob.
- From: "madcoder at debian dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 4 Oct 2007 09:31:27 -0000
- Subject: [Bug libc/5103] New: still one (rather minor) issue with escaping in glob.
- Reply-to: sourceware-bugzilla at sourceware dot org
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 are on the CC list for the bug, or are watching someone who is.