mtree.c (99800) | mtree.c (99802) |
---|---|
1/*- 2 * Copyright (c) 1989, 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 --- 28 unchanged lines hidden (view full) --- 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)mtree.c 8.1 (Berkeley) 6/6/93"; 43#endif 44static const char rcsid[] = | 1/*- 2 * Copyright (c) 1989, 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 --- 28 unchanged lines hidden (view full) --- 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)mtree.c 8.1 (Berkeley) 6/6/93"; 43#endif 44static const char rcsid[] = |
45 "$FreeBSD: head/usr.sbin/mtree/mtree.c 99800 2002-07-11 18:31:16Z alfred $"; | 45 "$FreeBSD: head/usr.sbin/mtree/mtree.c 99802 2002-07-11 18:42:53Z alfred $"; |
46#endif /* not lint */ 47 48#include <sys/param.h> 49#include <sys/stat.h> 50#include <err.h> 51#include <errno.h> 52#include <fts.h> 53#include <stdio.h> --- 6 unchanged lines hidden (view full) --- 60int ftsoptions = FTS_PHYSICAL; 61int cflag, dflag, eflag, iflag, nflag, qflag, rflag, sflag, uflag, Uflag; 62u_int keys; 63char fullpath[MAXPATHLEN]; 64 65static void usage(void); 66 67int | 46#endif /* not lint */ 47 48#include <sys/param.h> 49#include <sys/stat.h> 50#include <err.h> 51#include <errno.h> 52#include <fts.h> 53#include <stdio.h> --- 6 unchanged lines hidden (view full) --- 60int ftsoptions = FTS_PHYSICAL; 61int cflag, dflag, eflag, iflag, nflag, qflag, rflag, sflag, uflag, Uflag; 62u_int keys; 63char fullpath[MAXPATHLEN]; 64 65static void usage(void); 66 67int |
68main(argc, argv) 69 int argc; 70 char *argv[]; | 68main(int argc, char *argv[]) |
71{ 72 int ch; 73 char *dir, *p; 74 int status; 75 76 dir = NULL; 77 keys = KEYDEFAULT; 78 init_excludes(); --- 102 unchanged lines hidden --- | 69{ 70 int ch; 71 char *dir, *p; 72 int status; 73 74 dir = NULL; 75 keys = KEYDEFAULT; 76 init_excludes(); --- 102 unchanged lines hidden --- |