Deleted Added
full compact
main.c (208630) main.c (211349)
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 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

37#endif /* not lint */
38
39#ifndef lint
40#if 0
41static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/28/95";
42#endif
43#endif /* not lint */
44#include <sys/cdefs.h>
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 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

37#endif /* not lint */
38
39#ifndef lint
40#if 0
41static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/28/95";
42#endif
43#endif /* not lint */
44#include <sys/cdefs.h>
45__FBSDID("$FreeBSD: head/bin/sh/main.c 208630 2010-05-28 22:40:24Z jilles $");
45__FBSDID("$FreeBSD: head/bin/sh/main.c 211349 2010-08-15 21:06:53Z jilles $");
46
47#include <stdio.h>
48#include <signal.h>
49#include <sys/stat.h>
50#include <unistd.h>
51#include <fcntl.h>
52#include <locale.h>
53#include <errno.h>

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

227 numeof++;
228 } else if (n != NULL && nflag == 0) {
229 job_warning = (job_warning == 2) ? 1 : 0;
230 numeof = 0;
231 evaltree(n, 0);
232 }
233 popstackmark(&smark);
234 setstackmark(&smark);
46
47#include <stdio.h>
48#include <signal.h>
49#include <sys/stat.h>
50#include <unistd.h>
51#include <fcntl.h>
52#include <locale.h>
53#include <errno.h>

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

227 numeof++;
228 } else if (n != NULL && nflag == 0) {
229 job_warning = (job_warning == 2) ? 1 : 0;
230 numeof = 0;
231 evaltree(n, 0);
232 }
233 popstackmark(&smark);
234 setstackmark(&smark);
235 if (evalskip == SKIPFILE) {
236 evalskip = 0;
235 if (evalskip != 0) {
236 if (evalskip == SKIPFILE)
237 evalskip = 0;
237 break;
238 }
239 }
240 popstackmark(&smark);
241}
242
243
244

--- 107 unchanged lines hidden ---
238 break;
239 }
240 }
241 popstackmark(&smark);
242}
243
244
245

--- 107 unchanged lines hidden ---