Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/dist/nvi/common

Module Name:    src
Committed By:   christos
Date:           Tue Dec  9 18:26:20 UTC 2008

Modified Files:
        src/dist/nvi/common: exf.c

Log Message:
PR/40144: Christoph Badura: quiting from vi recovery mode leaves tty settings
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

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/dist/nvi/common/exf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index