You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2008/07/29 14:51:58 UTC

DO NOT REPLY [Bug 45496] New: [patch] adding directory matching [dir/**/ conf.d/*.conf] to apr_fnmatch

https://issues.apache.org/bugzilla/show_bug.cgi?id=45496

           Summary: [patch] adding directory matching [dir/**/conf.d/*.conf]
                    to apr_fnmatch
           Product: APR
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: rahul@sun.com


Created an attachment (id=22325)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22325)
adding directory globbing.

A patch (First cut) to add directory matching to apr_fnmatch.h,
The function can match wildcards like dir/**/conf.d/*.conf
which is not possible with the current function apr_match_glob

- I could not find a way to determine the current file separator, or how to
check if it is starting on root path if it is on non-unix systems.
would appreciate any help.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 45496] [patch] adding directory matching [dir/**/conf.d/*.conf] to apr_fnmatch

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45496


rahul <ra...@sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |45160




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


[Bug 45496] [patch] adding directory matching [dir/**/conf.d/*.conf] to apr_fnmatch

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45496

--- Comment #1 from Ben RUBSON <be...@gmail.com> ---
This patch works perfectly fine !
I use it on my Debian Wheezy (7 / stable) production box.
It helps me to include a variable amount of configuration files (several
dozens), each one located in its own sub-directory.
Perfect, thank you very much !

-- 
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