Deleted Added
full compact
ppt.c (2491) ppt.c (28979)
1/*
2 * Copyright (c) 1988, 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

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

47
48main(argc, argv)
49 int argc;
50 char **argv;
51{
52 register int c;
53 register char *p;
54
1/*
2 * Copyright (c) 1988, 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

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

47
48main(argc, argv)
49 int argc;
50 char **argv;
51{
52 register int c;
53 register char *p;
54
55 /* revoke */
56 setegid(getgid());
57 setgid(getgid());
58
55 (void) puts("___________");
56 if (argc > 1)
57 while (p = *++argv)
58 for (; *p; ++p)
59 putppt((int)*p);
60 else while ((c = getchar()) != EOF)
61 putppt(c);
62 (void) puts("___________");

--- 21 unchanged lines hidden ---
59 (void) puts("___________");
60 if (argc > 1)
61 while (p = *++argv)
62 for (; *p; ++p)
63 putppt((int)*p);
64 else while ((c = getchar()) != EOF)
65 putppt(c);
66 (void) puts("___________");

--- 21 unchanged lines hidden ---