Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/archivers/arc/files/patch-arcext.c
16461 views
1
--- arcext.c.orig 2013-06-27 02:00:19 UTC
2
+++ arcext.c
3
@@ -141,7 +141,7 @@ extfile(hdr, path, prt) /* extract a file */
4
if (note)
5
printf("Extracting file: %s\n", fix);
6
7
- if (warn && !overlay) {
8
+ if (arcwarn && !overlay) {
9
if ((f = fopen(fix, "r"))) { /* see if it exists */
10
fclose(f);
11
printf("WARNING: File %s already exists!", fix);
12
@@ -189,7 +189,7 @@ extfile(hdr, path, prt) /* extract a file */
13
if (!f)
14
#endif
15
{
16
- if (warn) {
17
+ if (arcwarn) {
18
printf("Cannot create %s\n", fix);
19
nerrs++;
20
}
21
22