diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-11-16 03:46:00 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-11-16 03:46:00 +0300 |
commit | d80e851dc05f978dded84b7ac9fcae7066e3ffe0 (patch) | |
tree | 9f32d236ce80a7a692f74fe1012df3bed6b19418 /cp.c | |
parent | a9c95ea6551eb3d894fcc56822c8aa394972b699 (diff) |
Stuf
Diffstat (limited to 'cp.c')
-rw-r--r-- | cp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -54,6 +54,8 @@ static int fileAction(const char *fileName, struct stat* statbuf) strcat(newdestName, "/"); if ( skipName != NULL) strcat(newdestName, strstr(fileName, skipName)); + else + strcat(newdestName, srcName); } return (copyFile(fileName, newdestName, preserveFlag, followLinks)); } |