View | Details | Raw Unified | Return to bug 110017 | Differences between
and this patch

Collapse All | Expand All

(-)libexec/getty/main.c.alt (-1 / +6 lines)
Lines 372-381 Link Here
372
			oflush();
372
			oflush();
373
			alarm(0);
373
			alarm(0);
374
			signal(SIGALRM, SIG_DFL);
374
			signal(SIGALRM, SIG_DFL);
375
			if (name[0] == '\0')
375
			if (name[0] == '\0'){
376
				sleep(1);
376
				continue;
377
				continue;
378
			}
377
			if (name[0] == '-') {
379
			if (name[0] == '-') {
378
				puts("user names may not start with '-'.");
380
				puts("user names may not start with '-'.");
381
				oflush();
382
				sleep(1);
379
				continue;
383
				continue;
380
			}
384
			}
381
			if (!(upper || lower || digit)) {
385
			if (!(upper || lower || digit)) {
Lines 384-389 Link Here
384
					    "invalid auto-login name: %s", AL);
388
					    "invalid auto-login name: %s", AL);
385
					exit(1);
389
					exit(1);
386
				} else
390
				} else
391
					sleep(1);
387
					continue;
392
					continue;
388
			}
393
			}
389
			set_flags(2);
394
			set_flags(2);

Return to bug 110017