Fix getpwuid_r call:
*result = getpwuid_r(uid, resultbuf, buffer, buflen);
This commit is contained in:
parent
2e45c143ef
commit
5688e45979
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/port/thread.c,v 1.18 2004/03/20 15:39:27 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/port/thread.c,v 1.19 2004/03/23 02:03:55 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -106,7 +106,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…
x
Reference in New Issue
Block a user