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.
_______________________________________________
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to