You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2019/03/20 23:06:55 UTC
[Bug 47630] NTFS Reparse Points are treated as n*x APR_LNK, only
correct for junction/dir link
https://bz.apache.org/bugzilla/show_bug.cgi?id=47630
William A. Rowe Jr. <wr...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #21 from William A. Rowe Jr. <wr...@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().
https://msdn.microsoft.com/en-us/library/windows/desktop/aa364571(v=vs.85).aspx
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