aboutsummaryrefslogtreecommitdiff
path: root/test/test-tcp-write-queue-order.c
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-12-01 17:41:38 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2016-04-15 17:11:53 +0200
commitd03abfd4007f5b073c406a0d3afe37e6d8407f49 (patch)
tree018c970e43dbb7681b1dbe8d3cae1a67bbb1cf77 /test/test-tcp-write-queue-order.c
parent70d5014266ec6659e9a9a7c8f9ba320385c9caec (diff)
downloadlibuv-d03abfd4007f5b073c406a0d3afe37e6d8407f49.tar.gz
libuv-d03abfd4007f5b073c406a0d3afe37e6d8407f49.zip
win: work around sharepoint scandir bug
It has been reported that for SharePoint connections mapped as a drive, uv_fs_scandir() returns "." and ".." entries when the expectation is that they should be filtered out. After some investigation it looks like the driver returns ".\0" and "..\0" for those entries, that is, it includes the zero byte in the filename length. Rewrite the filter to catch those entries as well. Fixes: https://github.com/nodejs/node/issues/4002 PR-URL: https://github.com/libuv/libuv/pull/636 Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'test/test-tcp-write-queue-order.c')
0 files changed, 0 insertions, 0 deletions