SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,20 @@
--- arcext.c.orig Sat Aug 7 10:06:42 2010
+++ arcext.c Thu May 19 23:35:46 2011
@@ -143,7 +143,7 @@ extfile(hdr, path, prt) /* extract a file */
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);
@@ -191,7 +191,7 @@ extfile(hdr, path, prt) /* extract a file */
if (!f)
#endif
{
- if (warn) {
+ if (arcwarn) {
printf("Cannot create %s\n", fix);
nerrs++;
}