]> sourceware.org Git - newlib-cygwin.git/commit
FAST_CWD: adjust the initial search scope
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 11 Jan 2017 13:21:31 +0000 (14:21 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 12 Jan 2017 08:10:30 +0000 (09:10 +0100)
commite5cadbfdcdd8b06932a9503b3c72511b68f03a60
treef2aea392034de96140b720f71ba9fa177348f6cc
parente0477b4a0ba2b842d4f81350f7fa9a03b1f3d27b
FAST_CWD: adjust the initial search scope

A *very* recent Windows build adds more code to the preamble of
RtlGetCurrentDirectory_U() so that the previous heuristic failed to find
the call to the locking routine.

This only affects the 64-bit version of ntdll, where the 0xe8 byte is
now found at offset 40, not the 32-bit version. However, let's just
double the area we search for said byte for good measure.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
winsup/cygwin/path.cc
This page took 0.026692 seconds and 5 git commands to generate.