37d07dacae
garbled. When vi creates a new EXF structure it did not set all the fd related fields to -1, so if the fd field was never initialized, it was 0 because of the calloc() call, so closing the file, ended up closing 0, so the terminal fd was closed and that prevented the ioctl to restore the term settings from succeeding. |
||
---|---|---|
.. | ||
api.c | ||
args.h | ||
common.h | ||
conv.c | ||
conv.h | ||
cut.c | ||
cut.h | ||
db1.c | ||
db.c | ||
db.h | ||
dbinternal.h | ||
delete.c | ||
dldb.c | ||
exf.c | ||
exf.h | ||
extern.h | ||
gs.c | ||
gs.h | ||
key.c | ||
key.h | ||
log4.c | ||
log.c | ||
log.h | ||
main.c | ||
mark.c | ||
mark.h | ||
mem.h | ||
msg.c | ||
msg.h | ||
multibyte.h | ||
nothread.c | ||
options_f.c | ||
options.awk | ||
options.c | ||
options.h | ||
pthread.c | ||
put.c | ||
recover.c | ||
screen.c | ||
screen.h | ||
search.c | ||
seq.c | ||
seq.h | ||
trace.c | ||
util2.c | ||
util.c | ||
util.h | ||
vi_auto.c | ||
vi_auto.h | ||
vi_rec.c | ||
vi.src |