From 310d4054793c299e1e0f00b4261a4ac8198f403b Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Wed, 13 Apr 2011 14:30:20 +0000 Subject: [PATCH] improve documentation git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32840 72102866-910b-0410-8b05-ffd578937521 --- Source/NSPathUtilities.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/NSPathUtilities.m b/Source/NSPathUtilities.m index 33484c634..a2d13f09e 100644 --- a/Source/NSPathUtilities.m +++ b/Source/NSPathUtilities.m @@ -1544,7 +1544,11 @@ NSHomeDirectory(void) } /** - * Returns loginName's home directory as an NSString object. + * Returns loginName's home directory as an NSString object.
+ * On most systems this returns the directory specified in the system's + * password file, but on ms-windows this is determined by examining the + * HOMEPATH and HOMEDRIVE environment variables or (if those don't make + * sense) the USERPROFILE environment variable. */ /* NOTE FOR DEVELOPERS. * If you change the behavior of this method you must also change