openbsd-ports/archivers/arc/patches/patch-ai
brad c2329a185c - mktemp -> mkstemps
Patches by: todd@
1999-08-12 13:40:51 +00:00

21 lines
470 B
Plaintext

--- ./arcext.c.orig Tue Aug 10 23:03:25 1999
+++ ./arcext.c Tue Aug 10 23:01:56 1999
@@ -143,7 +143,7 @@
if (note)
printf("Extracting file: %s\n", fix);
- if (warn && !overlay) {
+ if (arcwarn && !overlay) {
if (f = fopen(fix, "r")) { /* see if it exists */
fclose(f);
printf("WARNING: File %s already exists!", fix);
@@ -190,7 +190,7 @@
if (!f)
#endif
{
- if (warn) {
+ if (arcwarn) {
printf("Cannot create %s\n", fix);
nerrs++;
}