[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [kprint] Can't use GLOB_TILDE on Solaris
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-03-03 21:46:48
[Download RAW message or body]

On Saturday 03 March 2001 03:43, Michael Goffioul wrote:
> Waldo Bastian wrote:
> > On Friday 02 March 2001 08:46, Michael Goffioul wrote:
> > > Until then, either implement my own globbing function, or use OS
> > > implementation with the use of some #ifdef's. What's the best ?
> > >
> > > Michael.
> >
> > Well, you will have to make your own globbing function, because it's
> > unlikely that all supported platforms have an OS implementation. You
> > could still use #ifdefs to use an OS implementation when available if you
> > think that would work better, but that usually involves a bunch of
> > autoconf checks and I doubt whether that is worth the trouble.
>
> I think that using the OS implementation should be faster than a pure
> recusive implementation using QDir. Of course I don't know every system,
> but isn't it possible that all UNIX-like OS have an equivalent routine for
> expanding tilde and wildcards ?

Well, who knows. "I don't know every system" that's the problem, neither do I.

Cheers,
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic