com php-src: change the default terminal width from 100 to 80, as that is the most common value: phpdbg_utils.c

From: Date: Sat, 14 Jun 2014 21:48:24 +0000
Subject: com php-src: change the default terminal width from 100 to 80, as that is the most common value: phpdbg_utils.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-78884@lists.php.net to get a copy of this message
Commit: fbb7bdc21e0bd869dd25a701d49d8daaf8ffe03a Author: kovacs.ferenc <kovacs.ferenc@ustream.tv> Thu, 12 Jun 2014 23:13:50 +0200 Parents: ab353c0a555313765dc43fd85771e6c53485bd35 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fbb7bdc21e0bd869dd25a701d49d8daaf8ffe03a Log: change the default terminal width from 100 to 80, as that is the most common value Changed paths: M phpdbg_utils.c Diff: diff --git a/phpdbg_utils.c b/phpdbg_utils.c index c9b22a2..c77ecba 100644 --- a/phpdbg_utils.c +++ b/phpdbg_utils.c @@ -440,9 +440,9 @@ PHPDBG_API int phpdbg_get_terminal_width(TSRMLS_D) /* {{{ */ #elif defined(HAVE_SYS_IOCTL_H) struct winsize w; - columns = ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0 ? w.ws_col : 100; + columns = ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0 ? w.ws_col : 80; #else - columns = 100; + columns = 80; #endif return columns; } /* }}} */

« previous php.cvs (#78884) next »