projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
99c1fbb
)
small efficiency boost
author
Royce Mitchell III
<royce3@ev1.net>
Sat, 3 Sep 2005 01:19:25 +0000
(
01:19
+0000)
committer
Royce Mitchell III
<royce3@ev1.net>
Sat, 3 Sep 2005 01:19:25 +0000
(
01:19
+0000)
svn path=/trunk/; revision=17612
reactos/tools/rbuild/XML.cpp
patch
|
blob
|
history
diff --git
a/reactos/tools/rbuild/XML.cpp
b/reactos/tools/rbuild/XML.cpp
index
8300fe7
..
32cf417
100644
(file)
--- a/
reactos/tools/rbuild/XML.cpp
+++ b/
reactos/tools/rbuild/XML.cpp
@@
-228,10
+228,8
@@
Path::Split ( vector<string>& out,
prev = p;
p = strtok ( NULL, "/\\" );
}
prev = p;
p = strtok ( NULL, "/\\" );
}
- if ( include_last )
+ if ( include_last
&& strcmp ( prev, "." )
)
out.push_back ( prev );
out.push_back ( prev );
- if ( out.back() == "." )
- out.pop_back();
}
XMLFile::XMLFile()
}
XMLFile::XMLFile()