Overview
Artifact ID: | f11a3c0b00b888705258d3b96d9e2e5aa36104ef |
---|---|
Ticket: | 44002a7760cf54060b426865bcdca5b81421cad1
cannot locate home directory - please set the HOMEPATH environment variable |
User & Date: | anonymous 2011-02-01 21:41:17 |
Changes
- Appended to comment:
<hr /><i>anonymous claiming to be ticica added on 2011-02-01 21:41:17 UTC:</i><br /> I also had the same problem on Windows 2000, running fossil from a process running as a windows service. Using USERPROFILE as yet another fallback seems to have fixed it. So, in db.c, in function db_open_config, add this: ... if( zHome==0 ){ zHome = getenv("USERPROFILE"); } ...