diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-02-07 20:05:06 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-02-07 20:05:06 -0800 |
commit | 3f229bc3ffd56da0742555d902cd3dce1697394b (patch) | |
tree | 79f9e06c33d252118427ca59cec46fe37ef35bf8 /sysif.c | |
parent | 418f661cedc045889b23a0f2881a7049b3d008a4 (diff) | |
download | txr-3f229bc3ffd56da0742555d902cd3dce1697394b.tar.gz txr-3f229bc3ffd56da0742555d902cd3dce1697394b.tar.bz2 txr-3f229bc3ffd56da0742555d902cd3dce1697394b.zip |
file-place-buf: bugfix: create file if doesn't exist.
* share/txr/stdlib/getput.tl (file-place-buf): Instead of "r+"
mode, use the new "mb" mode which will create the file without
truncating it, and open for write mode. Also, bugfix: the
"b" option was missing.
Diffstat (limited to 'sysif.c')
0 files changed, 0 insertions, 0 deletions