Re: [PATCH 1/2] androd/client: Extend history line size and depth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Grzegorz,

On Friday 05 of September 2014 14:48:26 Grzegorz Kolodziejczyk wrote:
> For some commands current history line size isn't enough to store it
> complete. For complex/long run, extended history depth can be helpful.
> ---
>  android/client/history.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/android/client/history.c b/android/client/history.c
> index 3dae27a..ca4664c 100644
> --- a/android/client/history.c
> +++ b/android/client/history.c
> @@ -24,8 +24,8 @@
>  
>  /* Very simple history storage for easy usage of tool */
>  
> -#define HISTORY_DEPTH 20
> -#define LINE_SIZE 100
> +#define HISTORY_DEPTH 40
> +#define LINE_SIZE 200
>  static char lines[HISTORY_DEPTH][LINE_SIZE];
>  static int last_line = 0;
>  static int history_size = 0;
> 

This patch is now applied. Thanks.

-- 
Best regards, 
Szymon Janc
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux