Yaroslav Tykhiy f648dfd929 Fix some minor bugs, namely:
- Initialize "rval", which would be used uninitialized
  if al or pl options were set.

- Don't pass an empty string to login(1) as a user name
  (this could be triggered by entering a name and then killing it
  with backspace or ^U.)

- Don't loop endlessly if the al option specifies a bogus (i.e.,
  not alphanumeric) auto-login name.

- Don't pass a bogus user name to login(1) if a good name were
  entered and then killed with ^U.

- Exit with status 0, not 1, on receiving an EOF character,
  since it's not a error condition.

MFC after:	1 week
2003-06-06 14:36:41 +00:00
..
2003-06-01 19:52:36 +00:00
2002-02-06 16:38:40 +00:00
2003-06-06 14:36:41 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2002-07-06 19:19:48 +00:00
2003-05-04 00:43:39 +00:00
2002-07-15 18:51:57 +00:00
2002-07-15 18:51:57 +00:00
2002-07-06 19:19:48 +00:00
2003-05-04 00:59:13 +00:00