[riot-commits] [RIOT-OS/RIOT] de4197: posix: sockets: Fix return value of sendto and rec...
Martine Lenders
authmillenon at gmail.com
Mon Mar 6 13:39:30 CET 2017
Branch: refs/heads/master
Home: https://github.com/RIOT-OS/RIOT
Commit: de41971aab3b9da84ee3d5db8406ecdf4b0e21b4
https://github.com/RIOT-OS/RIOT/commit/de41971aab3b9da84ee3d5db8406ecdf4b0e21b4
Author: Francois Berder <francois.berder at imgtec.com>
Date: 2017-03-03 (Fri, 03 Mar 2017)
Changed paths:
M sys/posix/sockets/posix_sockets.c
Log Message:
-----------
posix: sockets: Fix return value of sendto and recvfrom
The return value of these functions was not always correct
in case of errors: they were not returning -1 and setting
errno.
Signed-off-by: Francois Berder <francois.berder at imgtec.com>
Commit: a5003e831173b76c02f4bad9d9851983501b7f73
https://github.com/RIOT-OS/RIOT/commit/a5003e831173b76c02f4bad9d9851983501b7f73
Author: Francois Berder <francois.berder at imgtec.com>
Date: 2017-03-03 (Fri, 03 Mar 2017)
Changed paths:
M sys/posix/include/netinet/in.h
Log Message:
-----------
posix: in: Fix sockaddr_in6 structure
The sin6_family member was an int. This caused the structure to
take 32 bytes which was greater than sockaddr_storage size (28
bytes).
Using the type sa_family_t for sin6_family member fixes this
issue.
Signed-off-by: Francois Berder <francois.berder at imgtec.com>
Commit: 7748dc8ce31ce703e2927676940cd8896a4eca11
https://github.com/RIOT-OS/RIOT/commit/7748dc8ce31ce703e2927676940cd8896a4eca11
Author: Martine Lenders <authmillenon at gmail.com>
Date: 2017-03-06 (Mon, 06 Mar 2017)
Changed paths:
M sys/posix/include/netinet/in.h
M sys/posix/sockets/posix_sockets.c
Log Message:
-----------
Merge pull request #6695 from francois-berder-imgtec/awalwm2m
posix_sockets: Various fixes in posix network implementation
Compare: https://github.com/RIOT-OS/RIOT/compare/1e8b3c880812...7748dc8ce31c
More information about the commits
mailing list