ports/archivers/arc/files/patch-arccvt.c
2023-04-23 18:18:05 -07:00

11 lines
400 B
C

--- arccvt.c.orig 2013-06-27 02:00:19 UTC
+++ arccvt.c
@@ -118,7 +118,7 @@ cvtfile(hdr) /* convert a file */
writehdr(hdr, new); /* write out real header */
fseek(new, hdr->size, 1); /* skip over data to next header */
fclose(tmp); /* all done with the file */
- if (unlink(tempname) && warn) {
+ if (unlink(tempname) && arcwarn) {
printf("Cannot unsave %s\n", tempname);
nerrs++;
}