delorie.com/archives/browse.cgi | search |
>>> On Sat, 11 Sep 1999 21:41:37 +0200 >>> Corinna Vinschen <corinna AT vinschen DOT de> said: > The call to getlogin() is the same as a call to GetUserName() > but if it fails, it returns 'unknown'. The original source of > read_etc_passwd() sets 'Administrator' as fallback and this is > the only difference. While the username is senseless on 9X > systems, on NT 'Administrator' would be a better fallback than > 'unknown'.So, why should it be changed then... Are there any cases that GetUserName() fails on NT ? I understand GetUserName() fails mainly on 9X, and I don't want to see 'Administrator' on 9x. ____ | AIST Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp> | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |