freebsd-skq/libexec/getty
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
..
chat.c Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
extern.h o __P removal 2002-02-06 16:38:40 +00:00
getty.8 Fixed the abuses of .Ql visible on stderr in troff mode. 2002-12-23 16:04:51 +00:00
gettytab.5 mdoc(7) police: expand contraction. 2003-02-23 01:45:51 +00:00
gettytab.h Add a new gettytab(5) option - `pl', which if set tells getty that the line 2003-01-19 20:59:52 +00:00
init.c Add a new gettytab(5) option - `pl', which if set tells getty that the line 2003-01-19 20:59:52 +00:00
main.c Fix some minor bugs, namely: 2003-06-06 14:36:41 +00:00
Makefile Lock down with WFORMAT?=1, with overrides in the subdirectories which 2002-02-04 02:33:51 +00:00
pathnames.h
subr.c o __P removal 2002-02-06 16:38:40 +00:00
ttys.5 mdoc(7) police: 2001-08-07 15:48:51 +00:00