Re: libsystemd-dummy available in unstable
On 24/07/14 12:16, Marco d'Itri wrote:
> This package provides a dummy libsystemd-daemon-dev binary package on
> kfreebsd-* and hurd-* systems.
> The purpose of this package is to allow other packages to
> unconditionally build-depend depend on libsystemd-daemon-dev, removing the
> need for ifdefs and configure-time checks for the library.
This is a great idea!
Trivial bug report: all the functions whose stub implementation is to
return EINVAL should return -EINVAL instead. The systemd convention,
borrowed from the kernel, is that >= 0 is success and < 0 is -EWHATEVER.