SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
archivers/arc/patches/patch-arcext_c
Normal file
20
archivers/arc/patches/patch-arcext_c
Normal 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++;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue