Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5688e45

Browse files
committed
Fix getpwuid_r call:
*result = getpwuid_r(uid, resultbuf, buffer, buflen);
1 parent2e45c14 commit5688e45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/port/thread.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
99
*
10-
* $PostgreSQL: pgsql/src/port/thread.c,v 1.18 2004/03/20 15:39:27 momjian Exp $
10+
* $PostgreSQL: pgsql/src/port/thread.c,v 1.19 2004/03/23 02:03:55 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -106,7 +106,7 @@ pqGetpwuid(uid_t uid, struct passwd *resultbuf, char *buffer,
106106
* Early POSIX draft of getpwuid_r() returns 'struct passwd *'.
107107
* getpwuid_r(uid, resultbuf, buffer, buflen)
108108
*/
109-
result=getpwuid_r(uid,resultbuf,buffer,buflen);
109+
*result=getpwuid_r(uid,resultbuf,buffer,buflen);
110110
#endif
111111

112112
#else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp