Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/libbb/copy_file.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/libbb/copy_file.c
r2725 r3232 79 79 struct stat source_stat; 80 80 struct stat dest_stat; 81 s igned charretval = 0;82 s igned chardest_exists = 0;83 s igned charovr;81 smallint retval = 0; 82 smallint dest_exists = 0; 83 smallint ovr; 84 84 85 85 /* Inverse of cp -d ("cp without -d") */ … … 148 148 } 149 149 150 /* Create DEST */151 150 if (dest_exists) { 152 151 if (!S_ISDIR(dest_stat.st_mode)) { … … 157 156 * this check and actual creation of files inside dest */ 158 157 } else { 158 /* Create DEST */ 159 159 mode_t mode; 160 160 saved_umask = umask(0);
Note:
See TracChangeset
for help on using the changeset viewer.