blob: 4d2023aecea64fc418ca9c89609853557b22ff09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- plib/support.c.orig Thu Jan 9 14:25:01 2003
+++ plib/support.c Mon May 23 20:46:01 2005
@@ -145,6 +145,15 @@
pthread_mutex_init(&pwd_lock, NULL);
}
+static pthread_mutex_t grp_lock;
+static pthread_once_t grp_once = PTHREAD_ONCE_INIT;
+
+static void
+grp_lock_init(void)
+{
+ pthread_mutex_init(&grp_lock, NULL);
+}
+
static char *
strcopy(const char *str, char **buf, size_t *avail)
{
|