* pwdgrp.h (pwdgrp::refresh): Fix indentation.

* uinfo.cc (pwdgrp::load): Open file synchronized to avoid truncated
	read.  Drop local variable off.
This commit is contained in:
Corinna Vinschen
2008-12-20 09:35:18 +00:00
parent 99c7be03b2
commit e9982f2a2b
3 changed files with 11 additions and 6 deletions

View File

@@ -75,7 +75,7 @@ public:
return;
if (pglock.acquire () == 1 &&
(!initialized || (check && etc::file_changed (etc_ix))))
(this->*read) ();
(this->*read) ();
pglock.release ();
}