ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/FeepingCreaturism.cpp
(Generate patch)

Comparing FeepingCreaturism/FeepingCreaturism.cpp (file contents):
Revision 230 by Douglas Thrift, 2004-09-06T20:50:27-07:00 vs.
Revision 251 by Douglas Thrift, 2004-09-12T19:24:00-07:00

# Line 73 | Line 73 | void FeepingCreaturism::initialize()
73          this->path = *node/"jargon";
74          this->matcher = *node/"matcher";
75  
76 <        char* path[] = { new char[this->path.size()] };
76 >        char* path[] = { new char[this->path.GetData().GetSize()] };
77  
78 <        std::strcpy(path[0], this->path.c_str());
78 >        std::strcpy(path[0], this->path.NullTerminate());
79  
80          ::FTS* traversal(::fts_open(path, FTS_LOGICAL, NULL));
81          Matcher matcher("^" + this->path + "/(" + this->matcher + ")$");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines