[Libguestfs] [PATCH 4/12] hivexsh: Change handling of prompt argument to rl_gets()
Matthew Booth
mbooth at redhat.com
Thu Feb 4 12:01:43 UTC 2010
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
More information about the Libguestfs
mailing list