mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
Fix getpwuid_r call:
*result = getpwuid_r(uid, resultbuf, buffer, buflen);
This commit is contained in:
parent
f2cc5330cc
commit
b96509a3f3
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
*
|
||||
* $Id: thread.c,v 1.12.2.4 2004/03/20 15:39:40 momjian Exp $
|
||||
* $Id: thread.c,v 1.12.2.5 2004/03/23 02:04:33 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -116,7 +116,7 @@ pqGetpwuid(uid_t uid, struct passwd *resultbuf, char *buffer,
|
||||
* Early POSIX draft of getpwuid_r() returns 'struct passwd *'.
|
||||
* getpwuid_r(uid, resultbuf, buffer, buflen)
|
||||
*/
|
||||
result = getpwuid_r(uid, resultbuf, buffer, buflen);
|
||||
*result = getpwuid_r(uid, resultbuf, buffer, buflen);
|
||||
#endif
|
||||
#else
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user