View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014966 | CMake | CMake | public | 2014-06-09 16:04 | 2015-01-05 08:38 | ||||
Reporter | Christopher Yeleighton | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | GNU/Linux | OS | openSUSE | OS Version | 13.1 | ||||
Product Version | CMake 2.8.11 | ||||||||
Target Version | CMake 3.1 | Fixed in Version | CMake 3.1 | ||||||
Summary | 0014966: cmake succeeds evaluating a script that is a directory | ||||||||
Description | cmake "succeeds" evaluating a "script" that is a directory. | ||||||||
Steps To Reproduce | { cmake -P . && echo "$?"; } | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0036139) David Cole (manager) 2014-06-09 16:07 |
Does not reproduce on Windows for me, using CMake 3.0.0-rc6: N:\...> cmake -P . CMake Error: cmListFileCache: error can not open file N:/... CMake Error: Error processing file: . N:\...> echo %ERRORLEVEL% 1 N:\...> cmake --version cmake version 3.0.0-rc6 |
(0036140) David Cole (manager) 2014-06-09 16:07 |
Mayber try CMake 3.0.0-rc6 and see if it's fixed already on Linux, too... |
(0036141) Brad King (manager) 2014-06-09 16:12 |
I can reproduce it with 3.0.0-rc6 on Linux. We are just using fopen directly: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmListFileLexer.in.l;hb=v3.0.0-rc6#l491 [^] without checking the file type first. Perhaps that fails on a directory with the MS C runtime but not the GNU C runtime library. |
(0036144) Brad King (manager) 2014-06-09 16:25 |
This should fix it: cmake: Do not open directories as scripts http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b1c113d9 [^] |
(0037561) Robert Maynard (manager) 2015-01-05 08:38 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-06-09 16:04 | Christopher Yeleighton | New Issue | |
2014-06-09 16:07 | David Cole | Note Added: 0036139 | |
2014-06-09 16:07 | David Cole | Note Added: 0036140 | |
2014-06-09 16:12 | Brad King | Note Added: 0036141 | |
2014-06-09 16:25 | Brad King | Note Added: 0036144 | |
2014-06-10 08:46 | Brad King | Assigned To | => Brad King |
2014-06-10 08:46 | Brad King | Status | new => resolved |
2014-06-10 08:46 | Brad King | Resolution | open => fixed |
2014-06-10 08:46 | Brad King | Fixed in Version | => CMake 3.1 |
2014-06-10 08:46 | Brad King | Target Version | => CMake 3.1 |
2015-01-05 08:38 | Robert Maynard | Note Added: 0037561 | |
2015-01-05 08:38 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |