Deleted Added
full compact
ftree.c (127958) ftree.c (140097)
1/*-
2 * Copyright (c) 1992 Keith Muller.
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Keith Muller of the University of California, San Diego.
8 *

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

32 */
33
34#ifndef lint
35#if 0
36static char sccsid[] = "@(#)ftree.c 8.2 (Berkeley) 4/18/94";
37#endif
38#endif /* not lint */
39#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1992 Keith Muller.
3 * Copyright (c) 1992, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * Keith Muller of the University of California, San Diego.
8 *

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

32 */
33
34#ifndef lint
35#if 0
36static char sccsid[] = "@(#)ftree.c 8.2 (Berkeley) 4/18/94";
37#endif
38#endif /* not lint */
39#include <sys/cdefs.h>
40__FBSDID("$FreeBSD: head/bin/pax/ftree.c 127958 2004-04-06 20:06:54Z markm $");
40__FBSDID("$FreeBSD: head/bin/pax/ftree.c 140097 2005-01-12 03:25:55Z brian $");
41
42#include <sys/types.h>
43#include <sys/time.h>
44#include <sys/stat.h>
45#include <unistd.h>
46#include <string.h>
47#include <stdio.h>
48#include <errno.h>

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

209 if (!dflag || (arcn->type != PAX_DIR))
210 return;
211
212 if (ftent != NULL)
213 (void)fts_set(ftsp, ftent, FTS_SKIP);
214}
215
216/*
41
42#include <sys/types.h>
43#include <sys/time.h>
44#include <sys/stat.h>
45#include <unistd.h>
46#include <string.h>
47#include <stdio.h>
48#include <errno.h>

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

209 if (!dflag || (arcn->type != PAX_DIR))
210 return;
211
212 if (ftent != NULL)
213 (void)fts_set(ftsp, ftent, FTS_SKIP);
214}
215
216/*
217 * ftree_notsel()
218 * this entry has not been selected by pax.
219 */
220
221void
222ftree_notsel()
223{
224 if (ftent != NULL)
225 (void)fts_set(ftsp, ftent, FTS_SKIP);
226}
227
228/*
217 * ftree_chk()
218 * called at end on pax execution. Prints all those file args that did not
219 * have a selected member (reference count still 0)
220 */
221
222void
223ftree_chk(void)
224{

--- 299 unchanged lines hidden ---
229 * ftree_chk()
230 * called at end on pax execution. Prints all those file args that did not
231 * have a selected member (reference count still 0)
232 */
233
234void
235ftree_chk(void)
236{

--- 299 unchanged lines hidden ---