Fix WS_ReserveSize calls when bytes is equal to free workspace
Currently, with the 505b7bd9 patch, when calling WS_ReserveSize with bytes equal to the amount of workspace that is currently available, it will return zero and mark overflow. This patch redoes the patch, and changes it to return zero and overflow only when the requested number of bytes is larger than what is available.
Showing
Please register or sign in to comment