[Bug libfortran/23803] [mingw32] getlog malfunction
dannysmith at users dot sourceforge dot net
gcc-bugzilla@gcc.gnu.org
Wed Sep 14 23:53:00 GMT 2005
------- Additional Comments From dannysmith at users dot sourceforge dot net 2005-09-14 23:53 -------
(In reply to comment #0)
> mingw sets the USERNAME environment variable, we should use it to provide a
> getlog procedure.
NT and later set USERNAME by default. win95, win98 do not. The var may not
necessarily refect the logon name.
> Or we could use a windows API function (if there is one
> available on all windows versions).
GetUserName()
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23803
More information about the Gcc-bugs
mailing list