Changeset 809 for trunk/src/gmake/kmkbuiltin/cp_utils.c
- Timestamp:
- Jan 29, 2007, 6:54:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/kmkbuiltin/cp_utils.c
r370 r809 37 37 38 38 #ifndef _MSC_VER 39 # include <sys/param.h>40 #endif 39 # include <sys/param.h> 40 #endif 41 41 #include <sys/stat.h> 42 42 #ifdef VM_AND_BUFFER_CACHE_SYNCHRONIZED 43 # include <sys/mman.h>43 # include <sys/mman.h> 44 44 #endif 45 45 … … 47 47 #include <errno.h> 48 48 #include <fcntl.h> 49 #ifndef _MSC_VER50 49 #include <fts.h> 51 #endif52 50 #include <limits.h> 53 51 #include <stdio.h> 54 52 #include <stdlib.h> 55 53 #include <signal.h> 56 #ifndef _MSC_VER57 54 #include <sysexits.h> 58 55 #include <unistd.h> 59 #else 60 #include "mscfakes.h" 61 #include "ftsfake.h" 62 #endif 56 57 #ifdef __sun__ 58 # include "solfakes.h" 59 #endif 60 #ifdef _MSC_VER 61 # include "mscfakes.h" 62 #endif 63 63 64 64 #include "cp_extern.h" … … 74 74 #ifndef S_ISVTX 75 75 # define S_ISVTX 0 76 #endif 76 #endif 77 77 78 78 int … … 123 123 } 124 124 } 125 125 126 126 if (fflag) { 127 127 /* remove existing destination file name, … … 169 169 entp->fts_path, to.p_path, 170 170 cp_pct(wtotal, fs->st_size)); 171 171 172 172 } 173 173 if (wcount >= (ssize_t)wresid || wcount <= 0) … … 199 199 entp->fts_path, to.p_path, 200 200 cp_pct(wtotal, fs->st_size)); 201 201 202 202 } 203 203 if (wcount >= (ssize_t)wresid || wcount <= 0)
Note:
See TracChangeset
for help on using the changeset viewer.