[Freeswitch-dev] Cpp and globbing
anthony.minessale at gmail.com
Mon Jul 7 18:14:40 EDT 2008
'swhaimtalkinbout!!! we'll get it in. thx!
On Mon, Jul 7, 2008 at 4:57 PM, Simon Capper <scapper at ooma.com> wrote:
> I've created a jira ticket with the patch. Hopefully it will make the
> release :)
> On 7/7/08 8:06 AM, "Anthony Minessale" <anthony.minessale at gmail.com>
> > If it works the same in the end, I am more than happy to accept it.
> > You better hurry though we are trying to release in 1 day.
> > On Fri, Jul 4, 2008 at 5:16 PM, Simon Capper <scapper at ooma.com> wrote:
> >> MikeJ,
> >> SimpleGlob.h uses the libc glob() function internally when compiled on
> >> unix,
> >> on windows it does its own thing, that probably why double globbing does
> >> not
> >> work on windows but does work on unix. Libc glob() is recursive and
> >> supports
> >> double globbing.
> >> Libapr has a globbing function apr_match_glob(), but it does not support
> >> double globbing.
> >> To get double globbing working on windows and convert switch_xml to C
> >> easiest way I can see is to lift the glob code out of libc and modify to
> >> make to work with windows using libapr for the file I/O, for unix the
> >> function in libc should be used.
> >> I had a look at the glob source in the uClibc and it should port OK. The
> >> code could be added to the end of switch_xml and ifdef'd out for
> >> non-wondows
> >> or kept as a windows only source file.
> >> If you are OK with this approach I can have a go.
> >> Simon
> >> _______________________________________________
> >> Freeswitch-dev mailing list
> >> Freeswitch-dev at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> >> http://www.freeswitch.org
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
Anthony Minessale II
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Freeswitch-dev