Ticket #195: SEND_THIS_IN_diff.mondo-rstr-compare.c.FIX_NOT_COMPARING_GZIP_ARCHIVES

File SEND_THIS_IN_diff.mondo-rstr-compare.c.FIX_NOT_COMPARING_GZIP_ARCHIVES, 747 bytes (added by Scott Cummings, 17 years ago)

patch

Line 
1--- mondo-rstr-compare.c.2.2.5 2007-09-08 21:44:15.000000000 -0500
2+++ mondo-rstr-compare.c 2007-09-09 16:31:37.000000000 -0500
3@@ -401,8 +401,8 @@
4 paranoid_free(tmp);
5 paranoid_free(filelist_name);
6 paranoid_free(logfile);
7- malloc_string(archiver_exe);
8- malloc_string(compressor_exe);
9+ paranoid_free(archiver_exe);
10+ paranoid_free(compressor_exe);
11 return (retval);
12 }
13
14@@ -454,6 +454,10 @@
15 MNT_CDROM "/archives/%d.afio.bz2", current_tarball_number);
16
17 if (!does_file_exist(tarball_fname)) {
18+ sprintf(tarball_fname, MNT_CDROM "/archives/%d.afio.gz",
19+ current_tarball_number);
20+ }
21+ if (!does_file_exist(tarball_fname)) {
22 sprintf(tarball_fname, MNT_CDROM "/archives/%d.afio.lzo",
23 current_tarball_number);
24 }