16 Jul 2005 14:00
Re: Re: CVS commit to /cvsroot/powersave/powersave/daemon by hmacht
Holger Macht wrote: > On Fri 15. Jul 18:09:51, Stefan Seyfried wrote: >> Hi Holger, >> > + /* this client did not connect through old socket interface */ >> > + client.fd = -10; >> >> If this '-10' is some magic number, can we add an #define for it, please? > > No, it's not magic. It's just a value to distinguish that this client did > not connect through the old socket way. With the new dbus method, the so i still vote for "#define CLIENT_IS_DBUS=-42" and then using "client.fd = CLIENT_IS_DBUS" or something like that. -- -- Stefan Seyfried \ "I didn't want to write for pay. I QA / R&D Team Mobile Devices \ wanted to be paid for what I write." SUSE LINUX Products GmbH, Nürnberg \ -- Leonard Cohen
.
Because we have other scripts like rcpowersave which also do not really
belong to scripts/. A directory scripts/ would then also contain things
like powersave_logs or restore_default_config. We could install them
wherever we like anyway, but the repository would be sorted.
Bye,
Holger
RSS Feed