cons.saver limit on the maximum number of lines/columns
- From: Pavel Tsekov <ptsekov gmx net>
- To: MC dev <mc-devel gnome org>
- Subject: cons.saver limit on the maximum number of lines/columns
- Date: Fri, 8 Jul 2005 12:31:46 +0300
Hello,
While investigating the recent bug report posted by Thomas Zajic
regarding cons.saver I came across the following code:
winsz.ws_col = winsz.ws_row = 0;
if (ioctl (console_fd, TIOCGWINSZ, &winsz) < 0
|| winsz.ws_col <= 0 || winsz.ws_row <= 0
|| winsz.ws_col >= 256 || winsz.ws_row >= 256)
die ();
Do you think that this limitation is really needed ? Might it be
that it is related to the SLang limitation ? Looking through the
changes made to cons.saver.c I've found out that this check was
introduced by Jakub Jelinek on 2004/10/05.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]