Fixed bug in user_home on Windows ... in some cases it would forget to copy

the path into the home and produce an empty home dir


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@20884 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2005-03-10 04:23:35 +00:00
parent 430cd86d69
commit 4e6e4a99cb
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-03-10 Nicola Pero <n.pero@mi.flashnet.it>
* user_home.c (main): Fixed missing case for Windows ... if
HOMEPATH was already a full path, the code would forget to copy
the path into home.
2005-03-09 Nicola Pero <n.pero@mi.flashnet.it>
* configure.ac: Detect libobjc.dll.a as a custom ObjC library.

View file

@ -186,6 +186,10 @@ int main (int argc, char** argv)
sprintf(home, "C:%s", buf0);
}
}
else
{
strcpy(home, buf0);
}
}
else
{