mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Add string similarity function
This commit is contained in:
parent
60e697f7b2
commit
863c704684
3 changed files with 53 additions and 2 deletions
2
third_party/dlmalloc/locks.inc
vendored
2
third_party/dlmalloc/locks.inc
vendored
|
@ -34,7 +34,7 @@
|
|||
#define MLOCK_T atomic_uint
|
||||
|
||||
static int malloc_wipe(MLOCK_T *lk) {
|
||||
bzero(lk, sizeof(*lk));
|
||||
atomic_store_explicit(lk, 0, memory_order_relaxed);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue