view src/libarchive-test.c @ 6530:8ea9085d1f80

of-control: Fix compatibility with Octave 9. * src/of-control-2-octave-9-compat.patch: Add patch that replaces functions and classes that have been deprecated in Octave 7 and removed from Octave 9. * dist-files.mk: Add new file to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 17 Nov 2022 10:40:12 +0100
parents 99516e73b368
children
line wrap: on
line source

/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include <archive.h>

int main(int argc, char *argv[])
{
    struct archive *tgz;

    (void)argc;
    (void)argv;

    tgz = archive_write_new();
    archive_write_set_compression_gzip(tgz);
    archive_write_set_format_ustar(tgz);
    archive_write_finish(tgz);

    return 0;
}