Changeset 1638 in MondoRescue for branches/stable/mondo/src/mondorestore/mondo-rstr-compare.c
- Timestamp:
- Sep 19, 2007, 9:32:00 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondo-rstr-compare.c
r1633 r1638 230 230 char *archiver_exe = NULL; 231 231 char *compressor_exe = NULL; 232 #ifdef __FreeBSD__ 233 long BUFSIZE=512L; 234 #else 235 long BUFSIZE=(1024L*1024L)/mr_conf->external_tape_blexternal_tape_blocksize; 236 #endif 237 232 238 233 239 use_star = (strstr(tarball_fname, ".star")) ? TRUE : FALSE; … … 271 277 } 272 278 273 #ifdef __FreeBSD__274 #define BUFSIZE 512L275 #else276 #define BUFSIZE (1024L*1024L)/TAPE_BLOCK_SIZE277 #endif278 279 279 mr_asprintf(&logfile, "/tmp/afio.log.%d", current_tarball_number); 280 280 if (use_star) // doesn't use compressor_exe … … 287 287 "%s -r -b %ld -M 16m -c %ld %s %s >> %s 2>> %s", 288 288 archiver_exe, 289 TAPE_BLOCK_SIZE,289 mr_conf->external_tape_blocksize, 290 290 BUFSIZE, compressor_exe, tarball_fname, logfile, logfile); 291 291 } 292 #undef BUFSIZE293 292 mr_free(archiver_exe); 294 293 mr_free(compressor_exe);
Note:
See TracChangeset
for help on using the changeset viewer.