clisp: small fix to %FOREIGN-ALLOC
- Deal with (%foreign-alloc 0) gracefully by turning it into a one byte allocation. This is similar to what glibc's malloc() does, IIUC. - Regression test: FOREIGN-ALLOC.6. Reported by Tobias Rautenkranz.
parent
1031bc88
Please register or sign in to comment