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

Comparing Spectre2/Mounter.cpp (file contents):
Revision 432 by douglas, 2005-03-27T01:56:29-08:00 vs.
Revision 433 by douglas, 2005-03-29T13:43:22-08:00

# Line 17 | Line 17 | void Mounter::operator()()
17          {
18                  bool password(false);
19  
20 +                // XXX: _unsynchronized
21 +                _synchronized (Daemon::secretLock)
22                  {
23                          api::FileReader in(Daemon::secret);
24                          ext::String line;
# Line 29 | Line 31 | void Mounter::operator()()
31                          }
32                  }
33  
34 <                if (!password)
34 >                if (!password) _synchronized (Daemon::secretLock)
35                  {
36                          AppendFileWriter out(Daemon::secret);
37                          ios::FormatWriter fout(out);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines