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:
Richard Frith-MacDonald 1998-09-30 07:42:38 +00:00
parent f3540d99c0
commit 36039eff7e
27 changed files with 143 additions and 149 deletions

View file

@ -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