Source-Changes archive

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

CVS commit: [netbsd-5] src/dist/nvi/common

Module Name:    src
Committed By:   snj
Date:           Tue Jan 20 02:51:13 UTC 2009

Modified Files:
        src/dist/nvi/common [netbsd-5]: exf.c

Log Message:
Pull up following revision(s) (requested by lukem in ticket #292):
        dist/nvi/common/exf.c: revision 1.3
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. -r1. 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