NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/40144 CVS commit: src/dist/nvi/common
The following reply was made to PR bin/40144; it has been noted by GNATS.
From: Christos Zoulas <christos%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/40144 CVS commit: src/dist/nvi/common
Date: Tue, 9 Dec 2008 18:26:20 +0000 (UTC)
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
succeeding.
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