View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009965CMakeCMakepublic2009-11-24 19:032009-11-24 20:14
Reporterhsorby 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009965: cmake -E chdir consumes command arguments when they match cmake arguments
Description
cmake -E chdir is consuming command arguments when they match cmake arguments

To reproduce try

cmake -E chdir . ls -i CMakeLists.txt

get:
CMakeLists.txt

expect:
17754 CMakeLists.txt

where the -i option is also an option for cmake wizard mode

Thanks to Alan Irwin for the example. Alan also notes this is a problem on his 2.8 linux cmake as well.
TagsNo tags attached.
Attached Files

 Relationships
related to 0006945closed cmake -E chdir processes arguments improperly when arguments match cmake args 

  Notes
(0018585)
hsorby (reporter)
2009-11-24 19:05

I would have liked to reopen this bug:

http://www.cmake.org/Bug/view.php?id=6945 [^]

but couldn't figure out how.
(0018587)
Bill Hoffman (manager)
2009-11-24 20:14

cvs commit -m "Fix for bug 0009965 -i was not passed to -E commands." cmakemain.cxx
Committer: Bill Hoffman <bill.hoffman@kitware.com>
/cvsroot/CMake/CMake/Source/cmakemain.cxx,v <-- cmakemain.cxx
new revision: 1.91; previous revision: 1.90

 Issue History
Date Modified Username Field Change
2009-11-24 19:03 hsorby New Issue
2009-11-24 19:05 hsorby Note Added: 0018585
2009-11-24 20:14 Bill Hoffman Relationship added related to 0006945
2009-11-24 20:14 Bill Hoffman Note Added: 0018587
2009-11-24 20:14 Bill Hoffman Status new => closed
2009-11-24 20:14 Bill Hoffman Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team