Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix fread failure after enable_incremental if malloc redirected (Cher…
…iBSD) Issue #627 (bdwgc). The failure is observed in cord `refill_cache()` executed by `cordtest`, `fread()` fails with `EFAULT`. The fix is to disable ` on FreeBSD when `REDIRECT_MALLOC` is defined (similar as it was done previously on Linux). * include/private/gcconfig.h [FREEBSD && !ALPHA && !SPARC] (MPROTECT_VDB): Do not define if `REDIRECT_MALLOC`.
- Loading branch information