Yet another installment in the ongoing tar saga

-Erik
This commit is contained in:
Erik Andersen
2000-03-28 00:58:14 +00:00
parent 6acaa40f27
commit 3364d78b18
12 changed files with 191 additions and 69 deletions

View File

@@ -42,7 +42,7 @@ static const char find_usage[] = "find [PATH...] [EXPRESSION]\n\n"
"\t-print\n\t\tprint the full file name followed by a newline to stdout.\n";
static int fileAction(const char *fileName, struct stat *statbuf)
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
{
if (pattern == NULL)
fprintf(stdout, "%s\n", fileName);
@@ -109,7 +109,7 @@ int find_main(int argc, char **argv)
}
if (recursiveAction(directory, TRUE, FALSE, FALSE,
fileAction, fileAction) == FALSE) {
fileAction, fileAction, NULL) == FALSE) {
exit(FALSE);
}