mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Removed references to cStringNoCopy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2990 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f3540d99c0
commit
36039eff7e
27 changed files with 143 additions and 149 deletions
|
@ -82,7 +82,7 @@ NSHomeDirectoryForUser (NSString *login_name)
|
|||
{
|
||||
#if !defined(__WIN32__) && !defined(_WIN32)
|
||||
struct passwd *pw;
|
||||
pw = getpwnam ([login_name cStringNoCopy]);
|
||||
pw = getpwnam ([login_name cString]);
|
||||
return [NSString stringWithCString: pw->pw_dir];
|
||||
#else
|
||||
/* Then environment variable HOMEPATH holds the home directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue