Commit 5688e459 authored by Bruce Momjian's avatar Bruce Momjian

Fix getpwuid_r call:

	    *result = getpwuid_r(uid, resultbuf, buffer, buflen);
parent 2e45c143
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment