[LTP] recvmmsg(2) system call tests

Cyril Hrubis chrubis@suse.cz
Tue Nov 6 11:25:39 CET 2018

> Ok, so my test cases are using arrays on the stack dimensioned at 
> run-time based on other values computed at run time. C99 is needed for 
> that. I don't see any value in changing them to use alloca(), its a 
> waste of time.

That is not true, at least for gcc variable arrays have been supported
as an extension in the default gnu89 mode for years now. I think that it
even predates the c99 standard, which is what I'm trying to explain for
quite some time now.

The only difference I'm aware of is how inline keyword behaves between
c99 and gnu89 mode, there may be some other minor differencies though.

The C accepted by default by a modern (10 years old+) compilers is much
closer than c99 than to the original c89.

Can we please stop this useless arguemnts and focus on the actual code

Cyril Hrubis

More information about the ltp mailing list