apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 47630] NTFS Reparse Points are treated as n*x APR_LNK, only correct for junction/dir link
Date Wed, 20 Mar 2019 23:06:55 GMT

William A. Rowe Jr. <wrowe@apache.org> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #21 from William A. Rowe Jr. <wrowe@apache.org> ---
Researching further, using DeviceIoControl() requires us to have a 16k buffer,
per https://docs.microsoft.com/en-us/windows/desktop/fileio/reparse-points
and would require the handle first with CreateFile() and CloseHandle().
This suggests such an "optimization" would not be an improvement over the
proposed code. 

Although I don't believe it is necessary to have a fail-over, because of the
fact that lstat has no meaning on an already open file (because it has already
been resolved to the symlink/junction target), I've accepted as submitted for
1.7 and 2.0, and optimization/unneded cases can be dropped later for 2.0.

Committed in r1855949, backported to 1.7 in r1855950

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message