* sync.h (muto::initforce): Delete flawed implementation.
* pwdgrp.h (pwdgrp::pglock): Make static. * grp.cc (pwdgrp::pwdgrp): Eliminate use of initforce.
This commit is contained in:
@@ -39,7 +39,7 @@ class pwdgrp
|
||||
char *buf, *lptr;
|
||||
int max_lines;
|
||||
bool initialized;
|
||||
muto pglock;
|
||||
static muto pglock;
|
||||
|
||||
bool parse_passwd ();
|
||||
bool parse_group ();
|
||||
|
Reference in New Issue
Block a user