openbsd-ports/archivers/arc/patches/patch-arccvt_c
2022-03-11 18:16:02 +00:00

12 lines
426 B
Plaintext

--- arccvt.c.orig Tue Oct 11 23:46:34 2005
+++ arccvt.c Tue Oct 11 23:46:44 2005
@@ -120,7 +120,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++;
}