[vlc-devel] [PATCH] misc/interrupt: use designated initializers for struct iovec

Filip Roséen filip at videolabs.io
Wed Jul 13 19:37:16 CEST 2016


>      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}.
>      As designated-initialiazers are used in other parts of src/misc/interrupt.c,
>      this patch does the same.

This patch is in no way related to the patch in which it accidentally is a
sub-email of; sorry for the inconvenience!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160713/ad96e080/attachment.html>


More information about the vlc-devel mailing list