From: Szymon Janc <szymon.janc@tieto.com>
To: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 1/2] androd/client: Extend history line size and depth
Date: Fri, 05 Sep 2014 15:29:46 +0200 [thread overview]
Message-ID: <1571863.mA3dO0Y7oz@uw000953> (raw)
In-Reply-To: <1409921307-31445-1-git-send-email-grzegorz.kolodziejczyk@tieto.com>
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
prev parent reply other threads:[~2014-09-05 13:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-05 12:48 [PATCH 1/2] androd/client: Extend history line size and depth Grzegorz Kolodziejczyk
2014-09-05 12:48 ` [PATCH 2/2] android/client: Check if hex string is byte format Grzegorz Kolodziejczyk
2014-09-05 13:28 ` Szymon Janc
2014-09-05 13:29 ` Szymon Janc [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1571863.mA3dO0Y7oz@uw000953 \
--to=szymon.janc@tieto.com \
--cc=grzegorz.kolodziejczyk@tieto.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox