Deleted Added
full compact
init.c (9997) init.c (10006)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Donn Seeley at Berkeley Software Design, Inc.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 1070 unchanged lines hidden (view full) ---

1079 session_t *sp;
1080{
1081 pid_t pid;
1082 sigset_t mask;
1083 time_t current_time = time((time_t *) 0);
1084 int too_quick = 0;
1085 char term[64], *env[2];
1086
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Donn Seeley at Berkeley Software Design, Inc.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 1070 unchanged lines hidden (view full) ---

1079 session_t *sp;
1080{
1081 pid_t pid;
1082 sigset_t mask;
1083 time_t current_time = time((time_t *) 0);
1084 int too_quick = 0;
1085 char term[64], *env[2];
1086
1087 if (current_time > sp->se_started &&
1087 if (current_time >= sp->se_started &&
1088 current_time - sp->se_started < GETTY_SPACING) {
1089 if (++sp->se_nspace > GETTY_NSPACE) {
1090 sp->se_nspace = 0;
1091 too_quick = 1;
1092 }
1093 } else
1094 sp->se_nspace = 0;
1095

--- 327 unchanged lines hidden ---
1088 current_time - sp->se_started < GETTY_SPACING) {
1089 if (++sp->se_nspace > GETTY_NSPACE) {
1090 sp->se_nspace = 0;
1091 too_quick = 1;
1092 }
1093 } else
1094 sp->se_nspace = 0;
1095

--- 327 unchanged lines hidden ---