[vlc-devel] [PATCH] network/httpd: use designated initializers for struct iovec

Rémi Denis-Courmont remi at remlab.net
Sun Feb 26 15:47:48 CET 2017


Le sunnuntaina 26. helmikuuta 2017, 15.03.16 EET Filip Roséen a écrit :
> Given that POSIX does not guarantee the order (nor the number) of the
> data-members within "struct iovec", we should either use designated
> initializers, or direct member-access, to initialize struct iovec.{iov_base,
> iov_len}.

It´s not the only place with that theoretical problem.

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list