1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/plat/unix
Orgad Shaneh 2badaef4fc unix plat: avoid strict aliasing complaint from a toolchain
The type of the fields in rtentry is sockaddr, and it is
casted to sockaddr_in. Size-wise it is ok, they should both
be the same size. But casting a pointer breaks build with
optimizations with the following error:

unix-sockets.c:434: error: dereferencing pointer 'addr' does break strict-aliasing rules

Amends commit 3c95483518.
2020-09-16 07:07:04 +01:00
..
android cleaning 2020-01-05 22:17:58 +00:00
CMakeLists.txt lws_plugins 2020-08-31 16:51:37 +01:00
private-lib-plat-unix.h lws_mutex 2020-06-16 19:45:35 +01:00
unix-caps.c coverity: 49785: confirm initgroups worked 2020-08-19 07:21:55 +01:00
unix-fds.c smp: unable to check for fd reuse since another thread can accept it 2020-08-31 16:51:37 +01:00
unix-file.c _GNU_SOURCE: only define if not already defined 2019-12-22 18:17:45 +00:00
unix-init.c event libs: default to building as dynamically loaded plugins 2020-08-31 16:51:37 +01:00
unix-misc.c coverity: 50976: check fsync return for cert write 2020-08-19 07:23:19 +01:00
unix-pipe.c event libs: default to building as dynamically loaded plugins 2020-08-31 16:51:37 +01:00
unix-plugins.c lws_plugins 2020-08-31 16:51:37 +01:00
unix-resolv.c ntpclient: add plat-specific init with env var LWS_NTP_SERVER able to set it on unix and windows 2020-04-25 15:11:21 +01:00
unix-service.c coverity: 62374: no need to init n 2020-08-18 14:00:54 +01:00
unix-sockets.c unix plat: avoid strict aliasing complaint from a toolchain 2020-09-16 07:07:04 +01:00
unix-spawn.c freebsd: sai build adaptations 2020-08-10 15:04:10 +01:00