main.c (59214) | main.c (64702) |
---|---|
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 --- 31 unchanged lines hidden (view full) --- 40 The Regents of the University of California. All rights reserved.\n"; 41#endif /* not lint */ 42 43#ifndef lint 44#if 0 45static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/28/95"; 46#endif 47static const char rcsid[] = | 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 --- 31 unchanged lines hidden (view full) --- 40 The Regents of the University of California. All rights reserved.\n"; 41#endif /* not lint */ 42 43#ifndef lint 44#if 0 45static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/28/95"; 46#endif 47static const char rcsid[] = |
48 "$FreeBSD: head/bin/sh/main.c 59214 2000-04-14 06:03:39Z imp $"; | 48 "$FreeBSD: head/bin/sh/main.c 64702 2000-08-16 10:39:43Z cracauer $"; |
49#endif /* not lint */ 50 51#include <stdio.h> 52#include <signal.h> 53#include <sys/stat.h> 54#include <unistd.h> 55#include <fcntl.h> 56#include <locale.h> --- 191 unchanged lines hidden (view full) --- 248 } 249 numeof++; 250 } else if (n != NULL && nflag == 0) { 251 job_warning = (job_warning == 2) ? 1 : 0; 252 numeof = 0; 253 evaltree(n, 0); 254 } 255 popstackmark(&smark); | 49#endif /* not lint */ 50 51#include <stdio.h> 52#include <signal.h> 53#include <sys/stat.h> 54#include <unistd.h> 55#include <fcntl.h> 56#include <locale.h> --- 191 unchanged lines hidden (view full) --- 248 } 249 numeof++; 250 } else if (n != NULL && nflag == 0) { 251 job_warning = (job_warning == 2) ? 1 : 0; 252 numeof = 0; 253 evaltree(n, 0); 254 } 255 popstackmark(&smark); |
256 setstackmark(&smark); |
|
256 if (evalskip == SKIPFILE) { 257 evalskip = 0; 258 break; 259 } 260 } | 257 if (evalskip == SKIPFILE) { 258 evalskip = 0; 259 break; 260 } 261 } |
261 popstackmark(&smark); /* unnecessary */ | 262 popstackmark(&smark); |
262} 263 264 265 266/* 267 * Read /etc/profile or .profile. Return on error. 268 */ 269 --- 120 unchanged lines hidden --- | 263} 264 265 266 267/* 268 * Read /etc/profile or .profile. Return on error. 269 */ 270 --- 120 unchanged lines hidden --- |