ports/archivers/arc/patches/patch-arccvt_c

12 lines
426 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- 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++;
}