[BusyBox] [patch] get_terminal_width_height() return value

Rob Landley rob at landley.net
Thu Sep 1 02:58:23 UTC 2005


You didn't send an unconditional version of the patch, so I faked something 
up.  It now always calls the ioctl, and I'm not setting the defaults because 
we start with zeroes and already have code to reset to sane minimums, and I 
really can't see any excuse for a failed ioctl filling the structure with 
garbage.  (Either it doesn't _have_ a size because it's not a tty, or it has 
valid data.  Not much middle ground here...)

Applied.

Rob


More information about the busybox mailing list