[PATCH] mkostemp: fix implementation

Rich Felker dalias at libc.org
Fri Dec 12 05:45:35 UTC 2014


On Tue, Dec 09, 2014 at 09:13:54AM -0500, Anthony G. Basile wrote:
> On 12/08/14 13:31, Waldemar Brodkorb wrote:
> >Hi Anthony,
> >
> >I tried your patch, but I have a minor issue when building the added
> >tests on noMMU (like Blackfin):
> 
> Thanks.  This is just a test but let me look at this wrt to noMMU
> and see what can be done.  You can probably avoid the fork but you
> need the exec because that's the whole point of O_CLOEXEC.

If uclibc has posix_spawn yet you could use that instead for the test.
Also vfork+exec would be viable.

Rich


More information about the uClibc mailing list