[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Q: chmod usage.
From: Waldo Bastian <bastian () kde ! org>
Date: 2002-02-26 23:54:22
[Download RAW message or body]
On Tuesday 26 February 2002 03:39 pm, Thomas Zander wrote:
> I ran into the following line;
> chmod("/etc/lisarc",S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
>
> 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);
>
> I just committed this in kdenetwork/lanbrowsing, and this part I was not
> completely sure about..
Yes, it's correct.
Cheers,
Waldo
--
Advanced technology only happens when people take a basic idea and add to it.
-- Bob Bemer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic