From kde-core-devel Tue Feb 26 23:54:22 2002 From: Waldo Bastian Date: Tue, 26 Feb 2002 23:54:22 +0000 To: kde-core-devel Subject: Re: Q: chmod usage. X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101476785827103 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 QStri= ng > to make it easier to maintain. > is the following change correct? > - chmod("/etc/lisarc",S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); > + =20 > chmod(QFile::encodeName(m_configFilename),S_IRUSR|S_IWUSR|S_IRGRP|S_IRO= TH); > > I just committed this in kdenetwork/lanbrowsing, and this part I was no= t > completely sure about.. Yes, it's correct. Cheers, Waldo --=20 Advanced technology only happens when people take a basic idea and add to= it. -- Bob Bemer