public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/3996] New: glob doesn't treat escaped stars correctly
@ 2007-02-07 15:47 madcoder at debian dot org
  2007-02-07 16:21 ` [Bug libc/3996] " jakub at redhat dot com
  2007-02-15 12:52 ` jakub at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: madcoder at debian dot org @ 2007-02-07 15:47 UTC (permalink / raw)
  To: glibc-bugs

the test case is here:

==================================================
#!/bin/sh
set -e
mkdir /tmp/tst-$$
cd /tmp/tst-$$

mkdir '*'
touch '*/x'

cat > a.c <<'EOF'
#include <glob.h>
#include <stdio.h>

int main() {
    glob_t pglob;
    puts(glob("\\*/*", 0, 0, &pglob) ? "failure" : "works");
    return 0;
}
EOF

gcc -Wall -W -o a a.c && ./a

cd /tmp
rm -rf tst-$$
==================================================

-- 
           Summary: glob doesn't treat escaped stars correctly
           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=3996

------- 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] 3+ messages in thread

* [Bug libc/3996] glob doesn't treat escaped stars correctly
  2007-02-07 15:47 [Bug libc/3996] New: glob doesn't treat escaped stars correctly madcoder at debian dot org
@ 2007-02-07 16:21 ` jakub at redhat dot com
  2007-02-15 12:52 ` jakub at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at redhat dot com @ 2007-02-07 16:21 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jakub at redhat dot com  2007-02-07 16:21 -------
Testing a patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|drepper at redhat dot com   |jakub at redhat dot com
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=3996

------- 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] 3+ messages in thread

* [Bug libc/3996] glob doesn't treat escaped stars correctly
  2007-02-07 15:47 [Bug libc/3996] New: glob doesn't treat escaped stars correctly madcoder at debian dot org
  2007-02-07 16:21 ` [Bug libc/3996] " jakub at redhat dot com
@ 2007-02-15 12:52 ` jakub at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at redhat dot com @ 2007-02-15 12:52 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jakub at redhat dot com  2007-02-15 12:52 -------
Should be fixed in CVS:
http://sources.redhat.com/ml/glibc-cvs/2007-q1/msg00238.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=3996

------- 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] 3+ messages in thread

end of thread, other threads:[~2007-02-15 12:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-07 15:47 [Bug libc/3996] New: glob doesn't treat escaped stars correctly madcoder at debian dot org
2007-02-07 16:21 ` [Bug libc/3996] " jakub at redhat dot com
2007-02-15 12:52 ` jakub 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).