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

Comparing GoogleTron/Command.hpp (file contents):
Revision 705 by douglas, 2006-03-18T20:49:26-08:00 vs.
Revision 706 by douglas, 2006-03-18T23:24:01-08:00

# Line 24 | Line 24 | struct Command : public ext::ReferenceCo
24          const api::Path root;
25          operator api::Path() const { return root; }
26   protected:
27 + #ifdef __FreeBSD__
28          Command(const cse::String &root) : root(api::Path(root).GetRealPath()) {}
29 + #else
30 +        Command(const cse::String &root) : root((root.IsEmpty() ? api::Path(_B(".")) : api::Path(root)).GetRealPath()) {}
31 + #endif
32   };
33  
34   class CommandRunner

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines