* Copyright (c) 1989 The Regents of the University of California.
* %sccs.include.redist.c%
"@(#) Copyright (c) 1990 The Regents of the University of California.\n\
static char sccsid
[] = "@(#)mtree.c 5.9 (Berkeley) %G%";
int ftsoptions
= FTS_PHYSICAL
;
int cflag
, dflag
, eflag
, rflag
, sflag
, uflag
;
char fullpath
[MAXPATHLEN
];
static void usage
__P((void));
while ((ch
= getopt(argc
, argv
, "cdef:K:k:p:rs:ux")) != EOF
)
if (!(freopen(optarg
, "r", stdin
)))
err("%s: %s", optarg
, strerror(errno
));
while ((p
= strsep(&optarg
, " \t,")) != NULL
)
while ((p
= strsep(&optarg
, " \t,")) != NULL
)
crc_total
= ~strtol(optarg
, &p
, 0);
err("illegal seed value -- %s", optarg
);
err("%s: %s", dir
, strerror(errno
));
if ((cflag
|| sflag
) && !getwd(fullpath
))
"usage: mtree [-cderux] [-f spec] [-K key] [-k key] [-p path] [-s seed]\n");