mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
4cd3b4e8d1
- Add a mirror site, since the primary site is temporarily unreachable - Remove RESTRICTED, as the license now allows redistribution PR: ports/81411 Submitted by: Johan van Selst <johans@stack.nl>
19 lines
405 B
C
19 lines
405 B
C
--- 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)
|
|
{
|