Ticket #65668: patch-MacOSX-mktemp.diff

File patch-MacOSX-mktemp.diff, 354 bytes (added by ballapete (Peter "Pete" Dyballa), 2 years ago)

Simple patch to change too old mktemp to gmktemp in c_check shell script

  • c_check

    old new  
    243243c11_atomics=0
    244244case "$data" in
    245245    *HAVE_C11*)
    246         tmpd=`mktemp -d`
     246        tmpd=`gmktemp -d`
    247247        tmpf="$tmpd/a.c"
    248248        printf "#include <stdatomic.h>\nint main(void){}\n" >> "$tmpf"
    249249        args=" -c -o $tmpf.o $tmpf"