make/test_mkstemp.c

Tue, 23 Dec 2025 17:08:14 +0100

author
Mike Becker <universe@uap-core.de>
date
Tue, 23 Dec 2025 17:08:14 +0100
changeset 1662
527ac061b247
parent 1661
a389bf17eaaa
permissions
-rw-r--r--

fixes that cx_list_default_insert_array() has the wrong nonnull attribute when used for cxListEmplaceArray()

fixes #790

#include <stdlib.h>

static void test_mkstemp() {
    char tpl[] = "/tmp/testXXXXXX";
    int fd = mkstemp(tpl);
    // never called, no need to close fd
}

int main() {
    return 0;
}

mercurial