yahoo / mdbm

MDBM a very fast memory-mapped key/value store.
BSD 3-Clause "New" or "Revised" License
992 stars 111 forks source link

mdbm_reset_all_locks does not work on rhel7 #86

Open havetisyan opened 6 years ago

havetisyan commented 6 years ago

Looks like incorrect path for BIN_BASE and invalid variable substitution:

mdbm_reset_all_locks

/bin/mdbm_reset_all_locks: line 4: BIN_BASE: command not found /bin/mdbm_reset_all_locks: line 5: BIN_BASE: command not found /bin/mdbm_reset_all_locks: line 19: mlock64: command not found /bin/mdbm_reset_all_locks: line 19: -r: command not found

timrc-git commented 6 years ago

Wow, that script must have never been used. For Makefiles, $(VAR) is fine, but for shell scripts you need ${VAR}

timrc-git commented 6 years ago

I have a pull request open for this, and a potential buffer overflow in mash.