Deleted Added
full compact
error.c (17987) error.c (18018)
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

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

28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
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

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

28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * $Id: error.c,v 1.3 1995/05/30 00:07:10 rgrimes Exp $
36 * $Id: error.c,v 1.4 1996/09/01 10:19:53 peter Exp $
37 */
38
39#ifndef lint
40static char sccsid[] = "@(#)error.c 8.2 (Berkeley) 5/4/95";
41#endif /* not lint */
42
43/*
44 * Errors and exceptions.

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

107 if (rootshell && iflag)
108 exraise(EXINT);
109 else
110 _exit(128 + SIGINT);
111}
112
113
114
37 */
38
39#ifndef lint
40static char sccsid[] = "@(#)error.c 8.2 (Berkeley) 5/4/95";
41#endif /* not lint */
42
43/*
44 * Errors and exceptions.

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

107 if (rootshell && iflag)
108 exraise(EXINT);
109 else
110 _exit(128 + SIGINT);
111}
112
113
114
115void
116error2(a, b)
117 char *a, *b;
118 {
119 error("%s: %s", a, b);
120}
121
122
123/*
124 * Error is called to raise the error exception. If the first argument
125 * is not NULL then error prints an error message using printf style
126 * formatting. It then raises the error exception.
127 */
128
129#if __STDC__
130void

--- 128 unchanged lines hidden ---
115/*
116 * Error is called to raise the error exception. If the first argument
117 * is not NULL then error prints an error message using printf style
118 * formatting. It then raises the error exception.
119 */
120
121#if __STDC__
122void

--- 128 unchanged lines hidden ---