rem: return pw->pw_name;
add: return pw->pw_dir;
context: getHomeDir (void){#ifdef WIN32	return getenv ("HOME");#else	const char *home;	struct passwd *pw;	home = getenv ("HOME");	if (home != NULL)		return home;	pw = getpwuid (getuid ());	if (pw == NULL)		return NULL;	// NB: pw points to a static buffer.	return pw->pw_name;#endif}