]> git.saurik.com Git - wxWidgets.git/commit - src/unix/dir.cpp
Add wxDIR_NO_FOLLOW flag for wxDir iteration.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Oct 2012 23:57:32 +0000 (23:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Oct 2012 23:57:32 +0000 (23:57 +0000)
commitc55f46d0a18588e8aee5832c35b634664afd64b5
treee3d520cc8b47775965ccb5d14d0331eb64e874de
parent6bf11d6720bc0ef58d68c454cc1f5e9772d41391
Add wxDIR_NO_FOLLOW flag for wxDir iteration.

This flag allows to avoid following the symbolic links during the directory
traversal. In particular, this means that links to the directories
(potentially outside the directory being traversed) are not considered as
directories at all when it is used, potentially avoiding surprises.

Closes #14542.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/dir.h
interface/wx/dir.h
src/unix/dir.cpp