This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/23803] [mingw32] getlog malfunction


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]