summaryrefslogtreecommitdiffstats
path: root/mpi/mpi.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-18 20:04:55 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-18 20:04:55 -0700
commitfd6324c9b82117399bc7cfa189f26c5fc615141c (patch)
tree53d8d52a36bebea7547f8864c4081b649ef50f57 /mpi/mpi.c
parentc51a26976c735531cf2f63d503f125da87f90133 (diff)
downloadtxr-fd6324c9b82117399bc7cfa189f26c5fc615141c.tar.gz
txr-fd6324c9b82117399bc7cfa189f26c5fc615141c.tar.bz2
txr-fd6324c9b82117399bc7cfa189f26c5fc615141c.zip
ffi: bugfix: broken buf in semantics, bad doc.
* ffi.c (ffi_buf_in): The bug in this one is that if *loc has been mutated to a null pointer, we want to produce a nil, rather than to try to duplicate the buffer. (ffi_buf_d_in): The bug here is that *loc is always different from origptr, because origptr is from the original buffer object, whereas we placed a copy of it into *loc. The semantics is changed. We take ownership of whatever pointer is there. If it is null, then yield nil. * txr.1: buf and buf-d documentation revised.
Diffstat (limited to 'mpi/mpi.c')
0 files changed, 0 insertions, 0 deletions