apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55678] New: apr_match_glob("/*", ... ) doesn't work.
Date Sat, 19 Oct 2013 23:01:33 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55678

            Bug ID: 55678
           Summary: apr_match_glob("/*", ... ) doesn't work.
           Product: APR
           Version: HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
          Assignee: bugs@apr.apache.org
          Reporter: kubo@jiubao.org

Created attachment 30949
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30949&action=edit
fix apr_match_glob("/*", ... )

The root directory contains several directories and files.
But apr_match_glob("/*", ... ) doens't work. It returns APR_ENOENT.
That's because apr_pstrndup(p, pattern, idx - pattern) returns an empty string
("") and apr tris to open "".

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message