[systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

Samuli Suominen ssuominen at gentoo.org
Tue Apr 8 09:03:45 PDT 2014


On 08/04/14 15:25, Zbigniew Jędrzejewski-Szmek wrote:
> On Tue, Apr 08, 2014 at 09:04:37AM +0300, Samuli Suominen wrote:
>> File src/shared/util.h is using locale_t which isn't used by the
>> strictly udev parts of the systemd code, I propose to move
>> this to a different header, so it is only used where it's actually required.
> I see the usefulness of disabling localization for lots of people,
> e.g. embedded. So what about simply adding a --disable-locale switch,
> and then having a patch like what you attached with a conditional
> using that, and in addition disabling the installation of .po files?
>
> Zbyszek

I've seen this proposal shot down earlier in the bugzilla.fd.o, which is why
I suggested merely keeping the existing code and moving it to a more
specific header.

- Samuli


More information about the systemd-devel mailing list