public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5103] New: still one (rather minor) issue with escaping in glob.
@ 2007-10-04  9:31 madcoder at debian dot org
  2007-10-04 10:01 ` [Bug libc/5103] " madcoder at debian dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: madcoder at debian dot org @ 2007-10-04  9:31 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-07 18:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-04  9:31 [Bug libc/5103] New: still one (rather minor) issue with escaping in glob madcoder at debian dot org
2007-10-04 10:01 ` [Bug libc/5103] " madcoder at debian dot org
2007-10-05 21:32 ` drepper at redhat dot com
2007-10-07 14:37 ` madcoder at debian dot org
2007-10-07 18:55 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).