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

Reply via email to