version 4.5.0

PIThread::stopAndWait now returns bool
PIKbdListener on Linux now use piwaitevent_p and can immediately stop
new base method piZeroMemory, also migrate all "memset 0" to piZeroMemory
This commit is contained in:
2024-12-29 11:48:24 +03:00
parent 49713ddc57
commit 15548de79c
27 changed files with 121 additions and 89 deletions

View File

@@ -206,7 +206,7 @@ PIString execute(const PIString & cmd) {
if (fp) {
const int sz = 256;
char in[sz];
memset(in, 0, sz);
piZeroMemory(in, sz);
while (true) {
int r = fread(in, 1, sz, fp);
if (r <= 0) break;