]> granicus.if.org Git - esp-idf/commit
VFS select: Correct reseting of socket FDs
authorRoland Dobai <dobai.roland@gmail.com>
Thu, 24 May 2018 08:02:24 +0000 (10:02 +0200)
committerbot <bot@espressif.com>
Fri, 25 May 2018 13:37:43 +0000 (13:37 +0000)
commite6ae121f41006a4c19934b6c3ec4751999c991a9
treee5839bd3d4b3e31d55485ee579107f2e9a9801c0
parent5b88d90a6c6c56c01d916e62085ac87cc8b01983
VFS select: Correct reseting of socket FDs

When using multiple sockets, some of them could be incorrectly removed
from the fd_sets before passing these fd_sets forward to the socket
select function.

Closes https://github.com/espressif/esp-idf/issues/1987
components/vfs/test/test_vfs_select.c
components/vfs/vfs.c