It's just a silly bug. It calls that code from some scripts which have fd0 dup'd elsewhere, so isatty(0) is false and getlogin() fails.
Guy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]