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

Comparing SiteMapper/SiteMapper.cpp (file contents):
Revision 249 by Douglas Thrift, 2004-09-11T23:21:11-07:00 vs.
Revision 259 by Douglas Thrift, 2004-10-01T17:19:10-07:00

# Line 11 | Line 11
11   #include <menes-api/exename.hpp>
12   #include <menes-app/application.hpp>
13  
14 #include <cassert>
15
14   string program;
15   bool debug(false);
16  
# Line 20 | Line 18 | struct SiteMapperCommand : public app::A
18   {
19          virtual int Run(const app::ArgumentList& args)
20          {
21 <                program = api::GetExecutableName();
21 >                program = api::GetExecutablePath().GetName();
22  
23                  string siteIndex, siteMap;
24  
# Line 72 | Line 70 | void SiteMapper::oldMap(const string& si
70  
71          if (debug) cerr << "comment = " << comment << '\n';
72  
75        assert(comment == " Cheese! ");
76
73          oldMap(pages, list);
74   }
75  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines