In <listserv%[email protected]>, on 06/27/2011
   at 11:42 AM, Paul Gilmartin <[email protected]> said:

>You can't win.

Not without correct coding.

>Switching to a larger screen size may result in
>buffer overrun; 

Not if you allocate the buffer with the correct size and check
addresses against the end address.

>switching to a smaller screen size may result
>in display overrun.

Again, not with correct coding.

>And switching to the same size but a different shape 
>(e.g. 30x80 <-> 24x100) results in garbage on the screen.

Why would you write code that detects a change in screen geometry but
doesn't check what the new geometry is? 

 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to