Line 0
Link Here
|
|
|
1 |
--- plib/support.c.orig Thu May 2 05:01:54 2002 |
2 |
+++ plib/support.c Sat May 18 02:11:58 2002 |
3 |
@@ -369,11 +369,13 @@ |
4 |
return code; |
5 |
|
6 |
#else |
7 |
+ pthread_once_t grp_once; |
8 |
+ pthread_mutex_t grp_lock; |
9 |
struct group *gp; |
10 |
int i, len; |
11 |
|
12 |
|
13 |
- pthread_once(&grp_once, grp_lock_init); |
14 |
+ pthread_once(&grp_once, NULL); |
15 |
pthread_mutex_lock(&grp_lock); |
16 |
|
17 |
gp = getgrgid(gid); |