mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Tidyups and fix in mingw drive handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20911 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7602f504b2
commit
daaa1f5dd7
4 changed files with 32 additions and 6 deletions
|
@ -130,6 +130,7 @@ NSString *
|
|||
Win32GetUserProfileDirectory(NSString *loginName)
|
||||
{
|
||||
NSString *s;
|
||||
|
||||
if ([loginName isEqual: NSUserName()] == YES)
|
||||
{
|
||||
[gnustep_global_lock lock];
|
||||
|
@ -161,7 +162,8 @@ Win32GetUserProfileDirectory(NSString *loginName)
|
|||
else
|
||||
{
|
||||
s = nil;
|
||||
NSLog(@"Not implemented! Can't determine other user home directories in Win32.");
|
||||
NSLog(@"Trying to get home for '%@' when user is '%@'", loginName, NSUserName());
|
||||
NSLog(@"Can't determine other user home directories in Win32.");
|
||||
}
|
||||
|
||||
if ([s length] == 0 && [loginName length] != 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue