MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015890 | CMake | CMake | public | 2015-12-21 10:43 | 2016-05-02 08:30 |
| Reporter | Fredrik Björkenfors | ||||
| Assigned To | Clinton Stimpson | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Windows | OS | Windows 7 | OS Version | Win7 SP1 |
| Product Version | CMake 3.4 | ||||
| Target Version | CMake 3.5 | Fixed in Version | CMake 3.5 | ||
| Summary | 0015890: file(STRINGS ..) doesn't work on single character files. | ||||
| Description | If the file passed to file(STRINGS <file> VAR) contains a single character file VAR will be empty. | ||||
| Steps To Reproduce | Run CMake on the attached project. Workaround: Adding any character to the input file, including an EOL character. | ||||
| Additional Information | If the file has less than 2 characters ReadBOM(std::istream& in) will set the failbit and the attempt to rewind the file will fail. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/5594/CMake_bug.zip | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-12-21 10:43 | Fredrik Björkenfors | New Issue | |||
| 2015-12-21 10:43 | Fredrik Björkenfors | File Added: CMake_bug.zip | |||
| 2015-12-21 10:47 | Brad King | Note Added: 0040014 | |||
| 2015-12-21 10:52 | Brad King | Note Added: 0040015 | |||
| 2015-12-21 10:52 | Brad King | Assigned To | => Clinton Stimpson | ||
| 2015-12-21 10:52 | Brad King | Status | new => assigned | ||
| 2015-12-21 10:52 | Brad King | Target Version | => CMake 3.5 | ||
| 2015-12-21 11:00 | Fredrik Björkenfors | Note Added: 0040017 | |||
| 2016-01-01 00:43 | Clinton Stimpson | Note Added: 0040032 | |||
| 2016-01-07 16:07 | Brad King | Note Added: 0040152 | |||
| 2016-01-07 16:07 | Brad King | Status | assigned => resolved | ||
| 2016-01-07 16:07 | Brad King | Resolution | open => fixed | ||
| 2016-01-07 16:07 | Brad King | Fixed in Version | => CMake 3.5 | ||
| 2016-05-02 08:30 | Robert Maynard | Note Added: 0040995 | |||
| 2016-05-02 08:30 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||