Deleted Added
full compact
main.c (22989) main.c (26415)
1/*-
2 * Copyright (c) 1980, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

34#ifndef lint
35static char copyright[] =
36"@(#) Copyright (c) 1980, 1993\n\
37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41/*static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";*/
1/*-
2 * Copyright (c) 1980, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

34#ifndef lint
35static char copyright[] =
36"@(#) Copyright (c) 1980, 1993\n\
37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41/*static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";*/
42static char rcsid[] = "$Id$";
42static char rcsid[] = "$Id: main.c,v 1.19 1997/02/22 14:21:39 peter Exp $";
43#endif /* not lint */
44
45#include <sys/param.h>
46#include <sys/stat.h>
47#include <sys/ioctl.h>
48#include <sys/resource.h>
49#include <sys/ttydefaults.h>
50#include <sys/utsname.h>

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

344 (void)tcsetattr(STDIN_FILENO, TCSANOW, &tmode);
345 exit(1);
346 }
347 if (TO) {
348 signal(SIGALRM, dingdong);
349 alarm(TO);
350 }
351 if ((rval = getname()) == 2) {
43#endif /* not lint */
44
45#include <sys/param.h>
46#include <sys/stat.h>
47#include <sys/ioctl.h>
48#include <sys/resource.h>
49#include <sys/ttydefaults.h>
50#include <sys/utsname.h>

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

344 (void)tcsetattr(STDIN_FILENO, TCSANOW, &tmode);
345 exit(1);
346 }
347 if (TO) {
348 signal(SIGALRM, dingdong);
349 alarm(TO);
350 }
351 if ((rval = getname()) == 2) {
352 oflush();
353 alarm(0);
352 execle(PP, "ppplogin", ttyn, (char *) 0, env);
353 syslog(LOG_ERR, "%s: %m", PP);
354 exit(1);
355 } else if (rval) {
356 register int i;
357
358 oflush();
359 alarm(0);

--- 405 unchanged lines hidden ---
354 execle(PP, "ppplogin", ttyn, (char *) 0, env);
355 syslog(LOG_ERR, "%s: %m", PP);
356 exit(1);
357 } else if (rval) {
358 register int i;
359
360 oflush();
361 alarm(0);

--- 405 unchanged lines hidden ---