diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-05-18 06:13:57 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-05-18 06:13:57 +0000 |
commit | 9aa19eeaf6c3e6557d13dd27e122710fdd6f7fc4 (patch) | |
tree | e909a5dc4ae9525167e17a0fc3e20edf86d60093 /ftp/pftpd/files | |
parent | 1d7bd798c8a7e8fd44199ea95e6b0f03b5aec773 (diff) |
Notes
Diffstat (limited to 'ftp/pftpd/files')
-rw-r--r-- | ftp/pftpd/files/patch-plib-support.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ftp/pftpd/files/patch-plib-support.c b/ftp/pftpd/files/patch-plib-support.c new file mode 100644 index 000000000000..73aa197a3e2a --- /dev/null +++ b/ftp/pftpd/files/patch-plib-support.c @@ -0,0 +1,17 @@ +--- plib/support.c.orig Thu May 2 05:01:54 2002 ++++ plib/support.c Sat May 18 02:11:58 2002 +@@ -369,11 +369,13 @@ + return code; + + #else ++ pthread_once_t grp_once; ++ pthread_mutex_t grp_lock; + struct group *gp; + int i, len; + + +- pthread_once(&grp_once, grp_lock_init); ++ pthread_once(&grp_once, NULL); + pthread_mutex_lock(&grp_lock); + + gp = getgrgid(gid); |