Drop use of deprecated bzero(3)

Use `memset(__, 0, __)` instead. Also fixes #5461 by not needing `bzero`
from `strings.h` anymore.
This commit is contained in:
Mahmoud Al-Qudsi 2019-01-02 00:28:25 -06:00
parent d1913f0df0
commit ef23923c8d

View File

@ -270,7 +270,7 @@ class history_file_contents_t {
ptr += amt; ptr += amt;
} }
} }
bzero(ptr, remaining); memset(ptr, 0, remaining);
return true; return true;
} }