- strcpy(newdestName, destName);
- strcat(newdestName, fileName+(strlen(srcName)));
- fprintf(stderr, "A: copying %s to %s\n", fileName, newdestName);
- return (copyFile(fileName, newdestName, preserveFlag, followLinks));
-}
-
-static int dirAction(const char *fileName)
-{
- char newdestName[NAME_MAX];
- struct stat statBuf;
- struct utimbuf times;