summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/pseudo_tidy.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-16 15:37:42 (GMT)
committerBrad King <brad.king@kitware.com>2017-01-16 15:47:32 (GMT)
commit2bba0bfc2c113a1ec94802ecfb8a836a385f919b (patch)
tree46ff211bbbc0920565d7f752927a849c42585b1d /Tests/RunCMake/pseudo_tidy.c
parent85a8939e2fc7eb2715a9264fd40c009c3a98cb8b (diff)
downloadCMake-2bba0bfc2c113a1ec94802ecfb8a836a385f919b.zip
CMake-2bba0bfc2c113a1ec94802ecfb8a836a385f919b.tar.gz
CMake-2bba0bfc2c113a1ec94802ecfb8a836a385f919b.tar.bz2
file: Fix crash on GLOB with no expressions after LIST_DIRECTORIES
Since commit v3.3.0-rc1~318^2~1 (file: Teach GLOB to list directories optionally, 2015-03-17) using `LIST_DIRECTORIES` followed by no expression causes a crash. Fix the logic to avoid the crash. Fixes: #16565
Diffstat (limited to 'Tests/RunCMake/pseudo_tidy.c')
0 files changed, 0 insertions, 0 deletions