[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:       "Aaron J. Seigo" <aseigo () mountlinux ! com>
Date:       2001-03-05 6:16:15
[Download RAW message or body]

On Monday 05 March 2001 01:34 am, Michael Goffioul wrote:
> > > Well, who knows. "I don't know every system" that's the problem,
> > > neither do
> >
> > if its any reassurance, glob is POSIX, AFIAK (and also according to the
> > man pages on my system). armed with this self-assurance, i did some
> > searching and here are system with glob documented in the section 3 of
> > their man pages:
> >
> >   - linux
> >   - *bsd
> >   - tru64
> >   - sunOS 5
> >   - solaris
> >   - AIX
>
> You can add HP-UX B.10.20 and B.11.00. The "glob" function is POSIX.2.
> However the GLOB_TILDE flag is a GNU extension. So maybe it is reasonable
> to think about a Qt function (in QDir class) that does globbing: tilde
> expansion is made using "QDir::homeDirPath()", and wildcard expansion using
> "glob()", returning a QStringList. I'm sure it could be useful. Isn't it ?

oops.. forgot HP-UX from the list since i already knew that one and didn't 
have to check.. heh.. yeah, i'd use homeDirPath() + system glob .. i think it 
would be very useful as an addition to QDir functionality... perhaps TT would 
pick it up?

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