View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010355CMakeCMakepublic2010-03-01 15:592016-06-10 14:31
ReporterSeelan Vamatheva 
Assigned ToBill Hoffman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010355: file (GLOB ... ) returns empty on linux
Descriptionfile( GLOB tmp "*.*" ) will return empty on linux. It works fine on windows. Also worked fine with CMake 2.6 for both windows and linux.
Additional InformationTest script:

cmake_minimum_required( VERSION 2.6 )
set( CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true )

set( tmp "" )
file( GLOB tmp "*.*" )
message( "FILES: ${tmp}" )
TagsNo tags attached.
Attached Filestar file icon cmakeTest1.tar [^] (10,240 bytes) 2010-03-01 15:59

 Relationships

  Notes
(0019672)
Bill Hoffman (manager)
2010-03-01 16:57

I can not reproduce the problem here?


hoffman@hythloth:~/cmtest$ ~/cmake-2.8.1-rc3-Linux-i386/bin/cmake -P cmakeTest1.cmake
FILES: /home/hoffman/cmtest/test.txt;/home/hoffman/cmtest/cmakeTest1.cmake


hoffman@hythloth:~/cmtest$ touch foo.txt
hoffman@hythloth:~/cmtest$ ~/cmake-2.8.1-rc3-Linux-i386/bin/cmake -P cmakeTest1.cmake
FILES: /home/hoffman/cmtest/test.txt;/home/hoffman/cmtest/foo.txt;/home/hoffman/cmtest/cmakeTest1.cmake


???

How did you build CMake?
(0041662)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-03-01 15:59 Seelan Vamatheva New Issue
2010-03-01 15:59 Seelan Vamatheva File Added: cmakeTest1.tar
2010-03-01 16:57 Bill Hoffman Note Added: 0019672
2010-03-01 16:57 Bill Hoffman Status new => assigned
2010-03-01 16:57 Bill Hoffman Assigned To => Bill Hoffman
2016-06-10 14:27 Kitware Robot Note Added: 0041662
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team