Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-builtin.cpp,v 1.1 2015/03/18 15:03:43 joerg Exp $
--- builtin.cpp.orig 2015-03-17 21:48:35.000000000 +0000
+++ builtin.cpp
@@ -268,11 +268,11 @@ static void builtin_print_help(parser_t
the rest won't fit
*/
- int screen_height, lines;
+ int screen_height, my_lines;
screen_height = common_get_height();
- lines = count_char(str, L'\n');
- if (!get_is_interactive() || (lines > 2*screen_height/3))
+ my_lines = count_char(str, L'\n');
+ if (!get_is_interactive() || (my_lines > 2*screen_height/3))
{
wchar_t *pos;
int cut=0;