[cfe-commits] r70611 - /cfe/trunk/tools/clang-cc/clang-cc.cpp

Mike Stump mrs at apple.com
Fri May 1 17:31:52 PDT 2009


On May 1, 2009, at 5:03 PM, Douglas Gregor wrote:
> +  if (ioctl(2, TIOCGWINSZ, &ws) == 0)
> +    Columns = ws.ws_col;

Danger...  Someone is gonna discover this isn't as portable as people  
would like...  Though, I guess if the Windows people like it, maybe we  
can ignore the really old systems out there.



More information about the cfe-commits mailing list