[uClibc-cvs] uClibc/libc/pwd_grp pwd_grp.c,1.1,1.2
Manuel Novoa III
mjn3 at uclibc.org
Thu Nov 6 21:13:07 UTC 2003
- Previous message: [uClibc-cvs] uClibc/libc/pwd_grp pwd_grp.c, NONE, 1.1 Makefile, 1.24, 1.25 __getgrent_r.c, 1.3, NONE __getpwent_r.c, 1.7, NONE __getspent_r.c, 1.6, NONE __sgetspent_r.c, 1.4, NONE config.h, 1.7, NONE fgetgrent.c, 1.8, NONE fgetpwent.c, 1.10, NONE fgetspent.c, 1.6, NONE getgrgid.c, 1.9, NONE getgrnam.c, 1.9, NONE getpw.c, 1.5, NONE getpwnam.c, 1.11, NONE getpwuid.c, 1.10, NONE getspnam.c, 1.6, NONE getspuid.c, 1.6, NONE grent.c, 1.12, NONE initgroups.c, 1.12, NONE putgrent.c, 1.1, NONE putpwent.c, 1.6, NONE putspent.c, 1.3, NONE pwent.c, 1.16, NONE sgetspent.c, 1.6, NONE spent.c, 1.7, NONE
- Next message: [uClibc-cvs] uClibc/libc/sysdeps/linux/common/bits uClibc_stdio.h, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/uClibc/libc/pwd_grp
In directory winder:/tmp/cvs-serv5308
Modified Files:
pwd_grp.c
Log Message:
Oops... don't need recursive mutexes.
Index: pwd_grp.c
===================================================================
RCS file: /var/cvs/uClibc/libc/pwd_grp/pwd_grp.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- pwd_grp.c 6 Nov 2003 20:56:03 -0000 1.1
+++ pwd_grp.c 6 Nov 2003 21:13:03 -0000 1.2
@@ -444,7 +444,7 @@
#ifdef L_getpwent_r
#ifdef __UCLIBC_HAS_THREADS__
-static pthread_mutex_t mylock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
+static pthread_mutex_t mylock = PTHREAD_MUTEX_INITIALIZER;
# define LOCK pthread_mutex_lock(&mylock)
# define UNLOCK pthread_mutex_unlock(&mylock);
#else
@@ -508,7 +508,7 @@
#ifdef L_getgrent_r
#ifdef __UCLIBC_HAS_THREADS__
-static pthread_mutex_t mylock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
+static pthread_mutex_t mylock = PTHREAD_MUTEX_INITIALIZER;
# define LOCK pthread_mutex_lock(&mylock)
# define UNLOCK pthread_mutex_unlock(&mylock);
#else
@@ -571,7 +571,7 @@
#ifdef L_getspent_r
#ifdef __UCLIBC_HAS_THREADS__
-static pthread_mutex_t mylock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
+static pthread_mutex_t mylock = PTHREAD_MUTEX_INITIALIZER;
# define LOCK pthread_mutex_lock(&mylock)
# define UNLOCK pthread_mutex_unlock(&mylock);
#else
- Previous message: [uClibc-cvs] uClibc/libc/pwd_grp pwd_grp.c, NONE, 1.1 Makefile, 1.24, 1.25 __getgrent_r.c, 1.3, NONE __getpwent_r.c, 1.7, NONE __getspent_r.c, 1.6, NONE __sgetspent_r.c, 1.4, NONE config.h, 1.7, NONE fgetgrent.c, 1.8, NONE fgetpwent.c, 1.10, NONE fgetspent.c, 1.6, NONE getgrgid.c, 1.9, NONE getgrnam.c, 1.9, NONE getpw.c, 1.5, NONE getpwnam.c, 1.11, NONE getpwuid.c, 1.10, NONE getspnam.c, 1.6, NONE getspuid.c, 1.6, NONE grent.c, 1.12, NONE initgroups.c, 1.12, NONE putgrent.c, 1.1, NONE putpwent.c, 1.6, NONE putspent.c, 1.3, NONE pwent.c, 1.16, NONE sgetspent.c, 1.6, NONE spent.c, 1.7, NONE
- Next message: [uClibc-cvs] uClibc/libc/sysdeps/linux/common/bits uClibc_stdio.h, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the uClibc-cvs
mailing list