diff options
| author | Jack Nagel | 2011-11-26 12:10:10 -0600 |
|---|---|---|
| committer | Jack Nagel | 2011-11-26 12:10:10 -0600 |
| commit | 0851a95a019116870998cab19a8b55bc3b44bbd7 (patch) | |
| tree | bf52210fd18740010c023c2f9bac64f458548b3b /Library | |
| parent | b712a4ff47ee4543ef717d162b70df8c57346b00 (diff) | |
| download | brew-0851a95a019116870998cab19a8b55bc3b44bbd7.tar.bz2 | |
doctor: remove terminal width check for curl
This ended up being noise for some users. We need a better set of steps
to trigger the bug in order to create a good doctor check; patches
welcome from users who are encountering this issue.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 340467bc6..825a0e2dc 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -800,21 +800,6 @@ def check_git_version end end -def check_terminal_width - # http://sourceforge.net/tracker/?func=detail&atid=100976&aid=3435710&group_id=976 - if `tput cols`.chomp.to_i > 262 - puts <<-EOS.undent - Your terminal width is greater than 262 columns. - - This can trigger a segfault in some versions of curl, which may cause - downloads to appear to fail. - - You may want to adjust your terminal size. - - EOS - end -end - module Homebrew extend self def doctor old_stdout = $stdout @@ -860,7 +845,6 @@ module Homebrew extend self check_git_status check_for_leopard_ssl check_git_version - check_terminal_width ensure $stdout = old_stdout end |
