Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com To: cygwin-developers Subject: Re: /etc/passwd emulation References: <1503 DOT 990910 AT logos-m DOT ru> <37DAB071 DOT D5B0FE6B AT vinschen DOT de> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 12 Sep 1999 05:31:10 +0900 In-Reply-To: Corinna Vinschen's message of Sat, 11 Sep 1999 21:41:37 +0200 Message-ID: Lines: 17 X-Mailer: Gnus v5.3/Emacs 19.34 >>> On Sat, 11 Sep 1999 21:41:37 +0200 >>> Corinna Vinschen 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 | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology