openbsd-ports/archivers/arc/patches/patch-arccvt_c

13 lines
489 B
Plaintext
Raw Normal View History

$OpenBSD: patch-arccvt_c,v 1.2 2005/10/13 18:05:20 naddy Exp $
--- 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 */
1999-08-12 09:40:51 -04:00
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++;
}