[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:       Michael Goffioul <goffioul () imec ! be>
Date:       2001-03-05 8:34:38
[Download RAW message or body]

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

Michael.

--
------------------------------------------------------------------
Michael Goffioul                IMEC-DESICS-MIRA
e-mail: goffioul@imec.be        (Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510          Kapeldreef, 75
Fax:    +32/16/28-1515          3001 HEVERLEE, BELGIUM
------------------------------------------------------------------



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