• Daniel Veillard's avatar
    Cleanup on randomization · 379ebc1d
    Daniel Veillard authored
    tsan reported that rand() is not thread safe, so create
    a thread safe wrapper, use rand_r() if available.
    Consolidate the function, initialization and cleanup in
    dict.c and make sure it is initialized in xmlInitParser()
    379ebc1d
hash.c 28.8 KB