Source-Changes archive

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

CVS commit: src/lib/libcurses

Module Name:    src
Committed By:   dsl
Date:           Sun Nov  1 22:11:27 UTC 2009

Modified Files:
        src/lib/libcurses: get_wch.c getch.c tty.c

Log Message:
Move calls to __restore_termios() into the failing path of the functions
that fail - instead of in most of the callers.
All rather pointless if tcsetattr() fails to set the mode we want we
are very unlikely to be able to restore any later on.

To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libcurses/get_wch.c
cvs rdiff -u -r1.52 -r1.53 src/lib/libcurses/getch.c
cvs rdiff -u -r1.40 -r1.41 src/lib/libcurses/tty.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