ftree.c (140097) | ftree.c (201179) |
---|---|
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 140097 2005-01-12 03:25:55Z brian $"); | 40__FBSDID("$FreeBSD: head/bin/pax/ftree.c 201179 2009-12-29 08:45:50Z ed $"); |
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> --- 165 unchanged lines hidden (view full) --- 214} 215 216/* 217 * ftree_notsel() 218 * this entry has not been selected by pax. 219 */ 220 221void | 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> --- 165 unchanged lines hidden (view full) --- 214} 215 216/* 217 * ftree_notsel() 218 * this entry has not been selected by pax. 219 */ 220 221void |
222ftree_notsel() | 222ftree_notsel(void) |
223{ 224 if (ftent != NULL) 225 (void)fts_set(ftsp, ftent, FTS_SKIP); 226} 227 228/* 229 * ftree_chk() 230 * called at end on pax execution. Prints all those file args that did not --- 305 unchanged lines hidden --- | 223{ 224 if (ftent != NULL) 225 (void)fts_set(ftsp, ftent, FTS_SKIP); 226} 227 228/* 229 * ftree_chk() 230 * called at end on pax execution. Prints all those file args that did not --- 305 unchanged lines hidden --- |