Ulrich Weigand wrote:
> Janne Blomqvist wrote:
> >     * io/unix.c (set_close_on_exec): New function.
>
> Since this patch, most Fortran tests fail on spu-elf since the system
> libraries do not support fcntl on the SPU.
>
> The patch below fixes this by using an autoconf check to verify
> fcntl is present before using it, as is already done for many
> other routines in io/unix.c.
>
> Tested on spu-elf, fixes the Fortran problems there.
> Also verified on an older powerpc64-linux build that we still
> use fcntl there.
>
> OK for mainline?

Looks good to me and it rather obvious.

Thanks for the patch!

Tobias

Reply via email to