We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0e95e1 + 5789035 commit 8f5676fCopy full SHA for 8f5676f
main/main.c
@@ -1301,12 +1301,11 @@ PHPAPI char *php_get_current_user(void)
1301
efree(pwbuf);
1302
return "";
1303
}
1304
- pwd = &_pw;
1305
-
1306
if (retpwptr == NULL) {
1307
1308
1309
+ pwd = &_pw;
1310
#else
1311
if ((pwd=getpwuid(pstat->st_uid))==NULL) {
1312
0 commit comments