summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-02-17 16:45:39 -0800
committerJosh Gao <jmgao@google.com>2016-02-22 15:57:08 -0800
commit8443fd994a19b685d5f93b2a233b9a04170f9172 (patch)
tree1d8d33cae909c72cb2661f66d9f0a3d6e62bdbcb /libutils/Unicode.cpp
parentaddab3d84dccd01cae9ca7b8a4b274b935f18fd4 (diff)
adb: move win32 fd base to 2048, fix fd allocation.
Windows has a maximum fd limit of 2048, so we can avoid collision with real file descriptors by starting from there. Also, fds would be previously be allocated by a linear walk from the last allocated FD, instead of the lowest available FD, as required by POSIX. Keep track of the lowest available file descriptor to make things feel more familiar. Change-Id: Id6ac1c54f4f7964a6cdfa8d3f4f96262e4881964 (cherry picked from commit b6232b96ddda96f3d72dd787fae0b0087ddbcab9)
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions