|
|
7e0a4d |
diff --git a/extract.c b/extract.c
|
|
|
7e0a4d |
index eeb2f57..a0a4929 100644
|
|
|
7e0a4d |
--- a/extract.c
|
|
|
7e0a4d |
+++ b/extract.c
|
|
|
7e0a4d |
@@ -472,8 +472,8 @@ int extract_or_test_files(__G) /* return PK-type error code */
|
|
|
7e0a4d |
*/
|
|
|
7e0a4d |
Info(slide, 0x401, ((char *)slide,
|
|
|
7e0a4d |
LoadFarString(CentSigMsg), j + blknum*DIR_BLKSIZ + 1));
|
|
|
7e0a4d |
- Info(slide, 0x401, ((char *)slide,
|
|
|
7e0a4d |
- LoadFarString(ReportMsg)));
|
|
|
7e0a4d |
+ Info(slide, 0x401,
|
|
|
7e0a4d |
+ ((char *)slide,"%s", LoadFarString(ReportMsg)));
|
|
|
7e0a4d |
error_in_archive = PK_BADERR;
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
reached_end = TRUE; /* ...so no more left to do */
|
|
|
7e0a4d |
@@ -752,8 +752,8 @@ int extract_or_test_files(__G) /* return PK-type error code */
|
|
|
7e0a4d |
|
|
|
7e0a4d |
#ifndef SFX
|
|
|
7e0a4d |
if (no_endsig_found) { /* just to make sure */
|
|
|
7e0a4d |
- Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
|
|
|
7e0a4d |
- Info(slide, 0x401, ((char *)slide, LoadFarString(ReportMsg)));
|
|
|
7e0a4d |
+ Info(slide, 0x401, ((char *)slide,"%s", LoadFarString(EndSigMsg)));
|
|
|
7e0a4d |
+ Info(slide, 0x401, ((char *)slide,"%s", LoadFarString(ReportMsg)));
|
|
|
7e0a4d |
if (!error_in_archive) /* don't overwrite stronger error */
|
|
|
7e0a4d |
error_in_archive = PK_WARN;
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
diff --git a/list.c b/list.c
|
|
|
7e0a4d |
index 15e0011..f7359c3 100644
|
|
|
7e0a4d |
--- a/list.c
|
|
|
7e0a4d |
+++ b/list.c
|
|
|
7e0a4d |
@@ -181,7 +181,7 @@ int list_files(__G) /* return PK-type error code */
|
|
|
7e0a4d |
Info(slide, 0x401,
|
|
|
7e0a4d |
((char *)slide, LoadFarString(CentSigMsg), j));
|
|
|
7e0a4d |
Info(slide, 0x401,
|
|
|
7e0a4d |
- ((char *)slide, LoadFarString(ReportMsg)));
|
|
|
7e0a4d |
+ ((char *)slide,"%s", LoadFarString(ReportMsg)));
|
|
|
7e0a4d |
return PK_BADERR; /* sig not found */
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
@@ -507,7 +507,8 @@ int list_files(__G) /* return PK-type error code */
|
|
|
7e0a4d |
&& (!G.ecrec.is_zip64_archive)
|
|
|
7e0a4d |
&& (memcmp(G.sig, end_central_sig, 4) != 0)
|
|
|
7e0a4d |
) { /* just to make sure again */
|
|
|
7e0a4d |
- Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
|
|
|
7e0a4d |
+ Info(slide, 0x401,
|
|
|
7e0a4d |
+ ((char *)slide,"%s", LoadFarString(EndSigMsg)));
|
|
|
7e0a4d |
error_in_archive = PK_WARN; /* didn't find sig */
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
|
|
|
7e0a4d |
@@ -591,7 +592,7 @@ int get_time_stamp(__G__ last_modtime, nmember) /* return PK-type error code */
|
|
|
7e0a4d |
Info(slide, 0x401,
|
|
|
7e0a4d |
((char *)slide, LoadFarString(CentSigMsg), j));
|
|
|
7e0a4d |
Info(slide, 0x401,
|
|
|
7e0a4d |
- ((char *)slide, LoadFarString(ReportMsg)));
|
|
|
7e0a4d |
+ ((char *)slide,"%s", LoadFarString(ReportMsg)));
|
|
|
7e0a4d |
return PK_BADERR; /* sig not found */
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
@@ -674,7 +675,7 @@ int get_time_stamp(__G__ last_modtime, nmember) /* return PK-type error code */
|
|
|
7e0a4d |
---------------------------------------------------------------------------*/
|
|
|
7e0a4d |
|
|
|
7e0a4d |
if (memcmp(G.sig, end_central_sig, 4)) { /* just to make sure again */
|
|
|
7e0a4d |
- Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
|
|
|
7e0a4d |
+ Info(slide, 0x401, ((char *)slide,"%s", LoadFarString(EndSigMsg)));
|
|
|
7e0a4d |
error_in_archive = PK_WARN;
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
if (*nmember == 0L && error_in_archive <= PK_WARN)
|
|
|
7e0a4d |
diff --git a/zipinfo.c b/zipinfo.c
|
|
|
7e0a4d |
index 6e22cc8..ac5c61b 100644
|
|
|
7e0a4d |
--- a/zipinfo.c
|
|
|
7e0a4d |
+++ b/zipinfo.c
|
|
|
7e0a4d |
@@ -771,7 +771,7 @@ int zipinfo(__G) /* return PK-type error code */
|
|
|
7e0a4d |
Info(slide, 0x401,
|
|
|
7e0a4d |
((char *)slide, LoadFarString(CentSigMsg), j));
|
|
|
7e0a4d |
Info(slide, 0x401,
|
|
|
7e0a4d |
- ((char *)slide, LoadFarString(ReportMsg)));
|
|
|
7e0a4d |
+ ((char *)slide,"%s", LoadFarString(ReportMsg)));
|
|
|
7e0a4d |
error_in_archive = PK_BADERR; /* sig not found */
|
|
|
7e0a4d |
break;
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
@@ -960,7 +960,8 @@ int zipinfo(__G) /* return PK-type error code */
|
|
|
7e0a4d |
&& (!G.ecrec.is_zip64_archive)
|
|
|
7e0a4d |
&& (memcmp(G.sig, end_central_sig, 4) != 0)
|
|
|
7e0a4d |
) { /* just to make sure again */
|
|
|
7e0a4d |
- Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
|
|
|
7e0a4d |
+ Info(slide, 0x401,
|
|
|
7e0a4d |
+ ((char *)slide,"%s", LoadFarString(EndSigMsg)));
|
|
|
7e0a4d |
error_in_archive = PK_WARN; /* didn't find sig */
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
|