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

List:       kde-core-devel
Subject:    (fwd) Re: Q: chmod usage.
From:       Dirk Mueller <mueller () kde ! org>
Date:       2002-02-27 0:11:56
[Download RAW message or body]

grr



Date: Wed, 27 Feb 2002 00:52:03 +0100
From: Dirk Mueller <mueller@kde.org>
To: kde-core-devel@kde.org
Subject: Re: Q: chmod usage.
Message-ID: <20020226235203.GA618@matrix.wg>
References: <20020227003928.A8469@planescape.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20020227003928.A8469@planescape.com>
User-Agent: Mutt/1.3.27i

On Mit, 27 Feb 2002, Thomas Zander wrote:

> Since that string is used a lot of times in the class I made it a QString to 
> make it easier to maintain.
> is the following change correct?
> -      chmod("/etc/lisarc",S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
> +      chmod(QFile::encodeName(m_configFilename),S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);

run time configurable ?

shouldn't it be compile time #define ?


Dirk


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

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