hal 0.5.10rc2
David Zeuthen
davidz at redhat.com
Fri Aug 31 16:22:51 PDT 2007
On Sat, 2007-09-01 at 00:11 +0200, Danny Kukawka wrote:
> On Freitag, 31. August 2007, David Zeuthen wrote:
> > David Zeuthen (13):
> [...]
> > Revert "make return value for method calls
> > implemented via programs be UINT32" require PolicyKit 0.5
>
> See the discussion on the ML about this. We need a solution for this, it would
> break now again (partly) KPowersave, powersaved and I assume also g-p-m. This
> change is now the 3. change in this area:
>
> 8873d79ec94d921e2950d1b860c79be39df30c4f and
> be426425d6e3629b39b90c9a468a875e446f0785
> (changed addons/prober to return INT32 instead of UINT32)
> 7b159b55d6398d2d240817276ae27ed68f11deda
> (fix addons/prober to return UNIT32 instead of INT32)
> reverted with:
> c7f2d8ce617970c3636a61061b8954bdeffe716a
> (now again addons return INT32)
Note that these are all post 0.5.9.
> This is really annoyoing. We need a common return type for addons/programms
> _and_ scripts. At least the same interfaces should return the same type
> independent of the way of implementation (via scripts or addons in case of
> the brightness interface).
Well, we finally have that now. Nothing has now changed since 0.5.9
(returning UINT32) except perhaps for fixing the addons to return the
proper type; and I can't honestly remember why we changed it to INT32
instead of UINT32 because it's clear that would break ABI. Sorry for the
confusion.
David
More information about the hal
mailing list