ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/Spectre/Mounter.cpp
(Generate patch)

Comparing trunk/Spectre/Mounter.cpp (file contents):
Revision 172 by douglas, 2003-06-28T21:08:05-07:00 vs.
Revision 173 by douglas, 2003-06-28T21:35:25-07:00

# Line 124 | Line 124 | void Mounter::samba(ipstream& pin)
124   void Mounter::mount(const string& folder, const string& user, const string&
125          owner)
126   {
127 <        string path = config.root + "/" + host + "/" + folder;
127 >        string path = config.root + "/" + host + "/" + (folder[folder.length() -
128 >                1] == '$' ? "." + folder.substr(0, folder.length() - 1) : folder);
129          
130          if (mounted.find(path) != mounted.end()) return;
131  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines