Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/archival/libarchive/data_extract_all.c

    r2725 r3232  
    55
    66#include "libbb.h"
    7 #include "archive.h"
     7#include "bb_archive.h"
    88
    99void FAST_FUNC data_extract_all(archive_handle_t *archive_handle)
     
    1414
    1515#if ENABLE_FEATURE_TAR_SELINUX
    16     char *sctx = archive_handle->tar__next_file_sctx;
     16    char *sctx = archive_handle->tar__sctx[PAX_NEXT_FILE];
    1717    if (!sctx)
    18         sctx = archive_handle->tar__global_sctx;
     18        sctx = archive_handle->tar__sctx[PAX_GLOBAL];
    1919    if (sctx) { /* setfscreatecon is 4 syscalls, avoid if possible */
    2020        setfscreatecon(sctx);
    21         free(archive_handle->tar__next_file_sctx);
    22         archive_handle->tar__next_file_sctx = NULL;
     21        free(archive_handle->tar__sctx[PAX_NEXT_FILE]);
     22        archive_handle->tar__sctx[PAX_NEXT_FILE] = NULL;
    2323    }
    2424#endif
Note: See TracChangeset for help on using the changeset viewer.