diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-01-18 21:01:05 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2024-01-18 21:01:05 -0800 |
commit | fbf3ae2f5c6c89c3d48ffe40760b9f31d7dfbadd (patch) | |
tree | 7bc40e9072aebb99bb755c24a5215ea1ef84387f /win | |
parent | 27bd56447ca3eaa4c2eef8cba17d3045f8bb0726 (diff) | |
download | txr-fbf3ae2f5c6c89c3d48ffe40760b9f31d7dfbadd.tar.gz txr-fbf3ae2f5c6c89c3d48ffe40760b9f31d7dfbadd.tar.bz2 txr-fbf3ae2f5c6c89c3d48ffe40760b9f31d7dfbadd.zip |
mmap: bug: low length diagnosed as "zero-sized element type"
* ffi.c (mmap_wrap): Make the diagnostic depend on the actual
condition that it's wording is about. If the element type is
nonzero, but the length is too low for the array to have any
elements, that is not strictly an error; we can let that pass.
Diffstat (limited to 'win')
0 files changed, 0 insertions, 0 deletions