[vlc-devel] commit "gnutls: use vectorized sends on all platforms" breaks Android
remi at remlab.net
Mon Jan 18 16:18:02 CET 2016
Le 2016-01-18 16:50, Jean-Baptiste Kempf a écrit :
> It seems that one needs to call sysconf(_SC_IOV_MAX) if IOV_MAX is
> defined in limits.h (XSI extension).
| A definition of [IOV_MAX] shall be omitted from <limits.h> on
| implementations where the corresponding value is equal to or greater
| the stated minimum, but is unspecified.
| This indetermination might depend on the amount of available memory
| a specific instance of a specific implementation. The actual value
| by a specific instance shall be provided by the sysconf() function.
> Not sure if Android is wrong there.
Both Android and VLC are broken: Android because the value is *not*
unspecified and VLC because it assumes IOV_MAX is specified.
More information about the vlc-devel