Deleted Added
full compact
function.c (196839) function.c (201227)
1/*-
2 * Copyright (c) 1990, 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 * Cimarron D. Taylor of the University of California, Berkeley.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

36
37#ifndef lint
38#if 0
39static const char sccsid[] = "@(#)function.c 8.10 (Berkeley) 5/4/95";
40#endif
41#endif /* not lint */
42
43#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1990, 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 * Cimarron D. Taylor of the University of California, Berkeley.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

36
37#ifndef lint
38#if 0
39static const char sccsid[] = "@(#)function.c 8.10 (Berkeley) 5/4/95";
40#endif
41#endif /* not lint */
42
43#include <sys/cdefs.h>
44__FBSDID("$FreeBSD: head/usr.bin/find/function.c 196839 2009-09-04 20:01:16Z trasz $");
44__FBSDID("$FreeBSD: head/usr.bin/find/function.c 201227 2009-12-29 22:53:27Z ed $");
45
46#include <sys/param.h>
47#include <sys/ucred.h>
48#include <sys/stat.h>
49#include <sys/types.h>
50#include <sys/acl.h>
51#include <sys/wait.h>
52#include <sys/mount.h>

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

765 new->e_argv[cnt] = new->e_orig[cnt] = NULL;
766
767done: *argvp = argv + 1;
768 return new;
769}
770
771/* Finish any pending -exec ... {} + functions. */
772void
45
46#include <sys/param.h>
47#include <sys/ucred.h>
48#include <sys/stat.h>
49#include <sys/types.h>
50#include <sys/acl.h>
51#include <sys/wait.h>
52#include <sys/mount.h>

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

765 new->e_argv[cnt] = new->e_orig[cnt] = NULL;
766
767done: *argvp = argv + 1;
768 return new;
769}
770
771/* Finish any pending -exec ... {} + functions. */
772void
773finish_execplus()
773finish_execplus(void)
774{
775 PLAN *p;
776
777 p = lastexecplus;
778 while (p != NULL) {
779 (p->execute)(p, NULL);
780 p = p->e_next;
781 }

--- 925 unchanged lines hidden ---
774{
775 PLAN *p;
776
777 p = lastexecplus;
778 while (p != NULL) {
779 (p->execute)(p, NULL);
780 p = p->e_next;
781 }

--- 925 unchanged lines hidden ---