Deleted Added
full compact
factor.c (23726) factor.c (28979)
1/*
2 * Copyright (c) 1989, 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 * Landon Curt Noll.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

89main(argc, argv)
90 int argc;
91 char *argv[];
92{
93 ubig val;
94 int ch;
95 char *p, buf[100]; /* > max number of digits. */
96
1/*
2 * Copyright (c) 1989, 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 * Landon Curt Noll.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

89main(argc, argv)
90 int argc;
91 char *argv[];
92{
93 ubig val;
94 int ch;
95 char *p, buf[100]; /* > max number of digits. */
96
97 /* revoke privs */
98 setegid(getgid());
99 setgid(getgid());
100
97 while ((ch = getopt(argc, argv, "")) != EOF)
98 switch (ch) {
99 case '?':
100 default:
101 usage();
102 }
103 argc -= optind;
104 argv += optind;

--- 98 unchanged lines hidden ---
101 while ((ch = getopt(argc, argv, "")) != EOF)
102 switch (ch) {
103 case '?':
104 default:
105 usage();
106 }
107 argc -= optind;
108 argv += optind;

--- 98 unchanged lines hidden ---