This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]