[Buildroot] [PATCH] host-mkpasswd: fix crash on Fedora 28 build host
Peter Korsgaard
peter at korsgaard.com
Thu May 3 21:26:02 UTC 2018
>>>>> "Stefan" == Stefan Becker <chemobejk at gmail.com> writes:
> crypt() is an optional glibc feature. Some distros, like Fedora 28, are
> phasing it out to be replaced with libxcrypt [1]. Unfortunately this
> change is only ABI compatible, not source code compatible, i.e. the code
> will compile with warnings about undefined crypt(), but the resulting
> binary will crash.
> Follow the guidance in the Fedora bug and include crypt.h when
> _XOPEN_CRYPT is not defined.
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1566464
> Signed-off-by: Stefan Becker <chemobejk at gmail.com>
Committed to 2018.02.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list