server-skynet-source-3rd-je.../test/unit/zero_realloc_alloc.sh
Qi Wang 0e29ad4efa Rename zero_realloc option "strict" to "alloc".
With realloc(ptr, 0) being UB per C23, the option name "strict" makes less sense
now.  Rename to "alloc" which describes the behavior.
2022-04-20 10:27:25 -07:00

4 lines
51 B
Bash

#!/bin/sh
export MALLOC_CONF="zero_realloc:alloc"