summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-03-17 07:07:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-03-17 07:07:34 -0700
commitfbb35f10c305128e865f7c16e21f61ea6e62083e (patch)
treefd3704516f0b96df3a069182e8e5dbfaa1bda60f /struct.c
parentdb2d654347e06fe7e40a498eee02e523936f4a53 (diff)
downloadtxr-fbb35f10c305128e865f7c16e21f61ea6e62083e.tar.gz
txr-fbb35f10c305128e865f7c16e21f61ea6e62083e.tar.bz2
txr-fbb35f10c305128e865f7c16e21f61ea6e62083e.zip
linenoise: close descriptor before external edit.
* linenoise/linenoise.c (edit_in_editor): Close the file stream after writing out the temporary file, before launching the editor. On Windows, Notepad complains that the file is in use by another application and cannot write to it. Windows Vim treats the file as read-only in spite of good permissions.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions