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.
1 parent 35b3f36 commit f62ecedCopy full SHA for f62eced
CoreFoundation/Base.subproj/CFPlatform.c
@@ -284,8 +284,10 @@ CF_EXPORT CFStringRef CFCopyUserName(void) {
284
#else
285
#error Dont know how to compute user name on this platform
286
#endif
287
- if (!result)
+ if (!result) {
288
result = (CFStringRef)CFRetain(CFSTR(""));
289
+ }
290
+
291
return result;
292
}
293
@@ -301,8 +303,9 @@ CF_EXPORT CFStringRef CFCopyFullUserName(void) {
301
303
302
304
#error Don't know how to compute full user name on this platform
305
306
307
308
309
310
311
0 commit comments