diff options
author | David <david@xagasoft.com> | 2006-09-14 21:51:00 +0000 |
---|---|---|
committer | David <david@xagasoft.com> | 2006-09-14 21:51:00 +0000 |
commit | c831a3947d7ac517fceaf8981d56c5ddcdaf26b1 (patch) | |
tree | 0d2951f0b15e10f6a38399f945f191342d02f009 /src/functionfilesin.cpp | |
parent | 9adf03ea002df33791109743e368f7420bf4043c (diff) | |
download | build-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.tar.gz build-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.tar.bz2 build-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.tar.xz build-c831a3947d7ac517fceaf8981d56c5ddcdaf26b1.zip |
david - a couple of random things mike told me to fix
Diffstat (limited to 'src/functionfilesin.cpp')
-rw-r--r-- | src/functionfilesin.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/functionfilesin.cpp b/src/functionfilesin.cpp index e3d8e92..6b47f9f 100644 --- a/src/functionfilesin.cpp +++ b/src/functionfilesin.cpp | |||
@@ -29,9 +29,10 @@ void FunctionFilesIn::execute( Build *bld, const StringList &lInput, StringList | |||
29 | 29 | ||
30 | while( (e = readdir( d )) ) | 30 | while( (e = readdir( d )) ) |
31 | { | 31 | { |
32 | if( e->d_type == DT_REG ) | 32 | if( e->d_type != DT_DIR ) |
33 | { | 33 | { |
34 | lOutput.push_back( prefix + e->d_name ); | 34 | if( e->d_name[0] != '.') |
35 | lOutput.push_back( prefix + e->d_name ); | ||
35 | } | 36 | } |
36 | } | 37 | } |
37 | 38 | ||