[oe] [meta-oe][PATCH] systemd_git.bb: Alias mkostemp() to mkstemp() for uclibc targets

Phil Blundell philb at gnu.org
Fri Jul 1 09:48:43 UTC 2011


On Thu, 2011-06-30 at 22:38 -0700, Khem Raj wrote:
> ++#ifdef __UCLIBC__
> ++/* uclibc does not implement mkostemp GNU extention */
> ++#define mkostemp(x,y) mkstemp(x)
> ++#endif

Is that safe?  It would be nice to have some commentary in the patch
explaining why the flags are not required for systemd to operate
correctly.  If it genuinely doesn't need to be using mkostemp() then
perhaps this change should just be made upstream for all libcs.

p.







More information about the Openembedded-devel mailing list