[PATCH 1/2] fix O_CLOEXEC related build problems with kernel versions < 2.6.23

Eugene Rudoy gene.devel at gmail.com
Wed Oct 18 17:48:13 UTC 2017


Hi Walter,

On Wed, Oct 18, 2017 at 6:27 PM, walter harms <wharms at bfs.de> wrote:
> while you are there ...
> please be more verbose "Do not use O_CLOEXEC flags" is nice but why ?
hmm, as the subject line states the change fixes the *build* problems
with *kernel* versions < 2.6.23, e.g.

miscutils/time.c: In function 'time_main':
miscutils/time.c:445:28: error: 'O_CLOEXEC' undeclared (first use in
this function)
miscutils/time.c:445:28: note: each undeclared identifier is reported
only once for each function it appears in

> You use a libc that das not support O_CLOEXEC ?, does it cause a bug later ? ....
a *kernel* version not supporting it and thus not providing the
corresponding symbol

Cheers,
Gene


More information about the busybox mailing list