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

Comparing Spectre2/Spectre2.cpp (file contents):
Revision 406 by douglas, 2004-12-30T22:08:35-08:00 vs.
Revision 414 by douglas, 2005-01-14T22:35:17-08:00

# Line 9 | Line 9
9   #include "Matcher/Matcher.hpp"
10  
11   #include <menes-api/exename.hpp>
12 #include <menes-api/files.hpp>
12   #include <menes-app/application.hpp>
13  
15 extern "C"
16 {
14   #include <sys/types.h>
18 #include <unistd.h>
15   #include <signal.h>
20 }
16  
17   struct Spectre2Command : public app::Application
18   {
# Line 86 | Line 81 | Spectre2::Spectre2(const ext::String& co
81          }
82  
83          _mforeach (ext::Vector<Daemon*>, daemon, daemons) (*daemon)->start();
84 +        _mforeach (ext::Vector<Daemon*>, daemon, daemons) (*daemon)->wait();
85   }
86  
87   Spectre2::~Spectre2()
# Line 93 | Line 89 | Spectre2::~Spectre2()
89          api::Posix::CheckError(::unlink(pid.NullTerminate()));
90   }
91  
92 < ext::String Spectre2::program(api::GetExecutablePath().GetName());
92 > ext::String Spectre2::program(api::GetExecutablePath().GetName()), Spectre2::prefix(_Spectre2_prefix_), Spectre2::root(_Spectre2_root_);
93   bool Spectre2::debug(false);
94   ext::Vector<Daemon*> Spectre2::daemons;
95  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines