Deleted Added
full compact
eval.c (22988) eval.c (25222)
1/*-
2 * Copyright (c) 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) 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$
36 * $Id: eval.c,v 1.11 1997/02/22 13:58:23 peter Exp $
37 */
38
39#ifndef lint
40static char const sccsid[] = "@(#)eval.c 8.9 (Berkeley) 6/8/95";
41#endif /* not lint */
42
43#include <signal.h>
44#include <unistd.h>

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

417/*
418 * Compute the names of the files in a redirection list.
419 */
420
421STATIC void
422expredir(n)
423 union node *n;
424{
37 */
38
39#ifndef lint
40static char const sccsid[] = "@(#)eval.c 8.9 (Berkeley) 6/8/95";
41#endif /* not lint */
42
43#include <signal.h>
44#include <unistd.h>

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

417/*
418 * Compute the names of the files in a redirection list.
419 */
420
421STATIC void
422expredir(n)
423 union node *n;
424{
425 register union node *redir;
425 union node *redir;
426
427 for (redir = n ; redir ; redir = redir->nfile.next) {
428 struct arglist fn;
429 fn.lastp = &fn.list;
430 oexitstatus = exitstatus;
431 switch (redir->type) {
432 case NFROM:
433 case NTO:

--- 571 unchanged lines hidden ---
426
427 for (redir = n ; redir ; redir = redir->nfile.next) {
428 struct arglist fn;
429 fn.lastp = &fn.list;
430 oexitstatus = exitstatus;
431 switch (redir->type) {
432 case NFROM:
433 case NTO:

--- 571 unchanged lines hidden ---