RFC/Windows: look for USERPROFILE/HOMEPATH+HOMEDRIVE if HOME not defined?

Joel Brobecker <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Hello!

It occurs to me that HOME is not a standard environment variable
on Windows. This makes me think that perhaps, if not found on Windows,
we should be looking at more standard environment variables.
The easiest would be to look at USERPROFILE. Less easy, but probably
more correct, we could use %HOMEDRIVE% + %HOMEPATH%.

Any thoughts on that? If people agree, I could probably whip something
up! I think it would make GDB a little easier to use on Windows.

-- 
Joel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.