Deleted Added
full compact
verify.c (122135) verify.c (124387)
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

28 */
29
30#if 0
31#ifndef lint
32static char sccsid[] = "@(#)verify.c 8.1 (Berkeley) 6/6/93";
33#endif /* not lint */
34#endif
35#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

28 */
29
30#if 0
31#ifndef lint
32static char sccsid[] = "@(#)verify.c 8.1 (Berkeley) 6/6/93";
33#endif /* not lint */
34#endif
35#include <sys/cdefs.h>
36__FBSDID("$FreeBSD: head/usr.sbin/mtree/verify.c 122135 2003-11-05 20:07:40Z phk $");
36__FBSDID("$FreeBSD: head/usr.sbin/mtree/verify.c 124387 2004-01-11 19:25:56Z phk $");
37
38#include <sys/param.h>
39#include <sys/stat.h>
40#include <dirent.h>
41#include <err.h>
42#include <errno.h>
43#include <fts.h>
44#include <fnmatch.h>
45#include <stdio.h>
46#include <unistd.h>
47#include "mtree.h"
48#include "extern.h"
49
37
38#include <sys/param.h>
39#include <sys/stat.h>
40#include <dirent.h>
41#include <err.h>
42#include <errno.h>
43#include <fts.h>
44#include <fnmatch.h>
45#include <stdio.h>
46#include <unistd.h>
47#include "mtree.h"
48#include "extern.h"
49
50extern int ftsoptions;
51extern int dflag, eflag, qflag, rflag, sflag, uflag;
52extern char fullpath[MAXPATHLEN];
53extern int lineno;
54
55static NODE *root;
56static char path[MAXPATHLEN];
57
58static void miss(NODE *, char *);
59static int vwalk(void);
60
61int
62mtree_verifyspec(FILE *fi)

--- 176 unchanged lines hidden ---
50static NODE *root;
51static char path[MAXPATHLEN];
52
53static void miss(NODE *, char *);
54static int vwalk(void);
55
56int
57mtree_verifyspec(FILE *fi)

--- 176 unchanged lines hidden ---