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

Re: [Libguestfs] [PATCH 4/12] hivexsh: Change handling of prompt argument to rl_gets()



On 03/02/10 18:32, Richard W.M. Jones wrote:
> Subject: [PATCH 04/12] hivexsh: Change handling of prompt argument to rl_gets()
> 
> Make the result of isatty into a global variable (is_tty).
> 
> Change the rl_gets() function so it takes the prompt string
> instead of a "display prompt?" flag.  rl_gets() then consults
> the global to find out if it should display the prompt at all.
> ---
>  hivex/hivexsh.c |   19 ++++++++++---------
>  1 files changed, 10 insertions(+), 9 deletions(-)

ACK.

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490


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