Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 113081 Details for
Bug 170581
sys-auth/libnss-pgsql - getgrent_r group database query deadlocks if database is not available
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix _nss_pgsql_setgrent endless loop when database is down.
libnss-pgsql-1.4.0-setgrent_fixed.patch (text/plain), 635 bytes, created by
Claudinei Matos
on 2007-03-12 15:47:30 UTC
(
hide
)
Description:
Patch to fix _nss_pgsql_setgrent endless loop when database is down.
Filename:
MIME Type:
Creator:
Claudinei Matos
Created:
2007-03-12 15:47:30 UTC
Size:
635 bytes
patch
obsolete
>--- libnss-pgsql-1.4.0/src/interface.c 2007-03-12 12:09:38.000000000 -0300 >+++ /tmp/interface.c 2007-03-12 12:10:27.000000000 -0300 >@@ -114,18 +114,19 @@ > } > __libc_lock_unlock(lock); > >- return NSS_STATUS_SUCCESS; >+ return retval; > } > > enum nss_status > _nss_pgsql_endgrent(void) > { > __libc_lock_lock(lock); >- getent_close(CONNECTION_USERGROUP); >- backend_close(CONNECTION_USERGROUP); >- __libc_lock_unlock(lock); >+ getent_close(CONNECTION_USERGROUP); >+ backend_close(CONNECTION_USERGROUP); >+ __libc_lock_unlock(lock); >+ >+ return NSS_STATUS_SUCCESS; > >- return NSS_STATUS_SUCCESS; > } > > enum nss_status
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 170581
: 113081 |
113082