[vlc-devel] commit "gnutls: use vectorized sends on all platforms" breaks Android

Jean-Baptiste Kempf jb at videolan.org
Mon Jan 18 16:19:54 CET 2016


On 18 Jan, Rémi Denis-Courmont wrote :
> 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 not
> >defined in limits.h (XSI extension).
> 
> Specifically:
> 
> | A definition of [IOV_MAX] shall be omitted from <limits.h> on specific
> | implementations where the corresponding value is equal to or greater than
> | the stated minimum, but is unspecified.
> |
> | This indetermination might depend on the amount of available memory space
> on
> | a specific instance of a specific implementation. The actual value
> supported
> | 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.

Got it.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list