"Fossies" - the Fresh Open Source Software Archive

Member "ipfire-2.x-2.25-core147/src/patches/tar/01_extract.c.patch" (2 Jul 2020, 365 Bytes) of package /linux/misc/ipfire-2.x-2.25-core147.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 --- tar-1.31/src/extract.c  2019-01-02 18:07:48.000000000 +0000
    2 +++ tar-1.31.patched/src/extract.c  2019-01-09 16:17:20.368612005 +0000
    3 @@ -782,7 +782,8 @@
    4     case OVERWRITE_OLD_FILES:
    5       if (0 < remove_any_file (file_name, ORDINARY_REMOVE_OPTION))
    6         return RECOVER_OK;
    7 -     break;
    8 +     errno = e;
    9 +     return RECOVER_NO;
   10  
   11     case UNLINK_FIRST_OLD_FILES:
   12       break;