[libvirt] [PATCH] virsh: new environment variable VIRSH_HISTSIZE

Eric Blake eblake at redhat.com
Tue Oct 29 12:54:50 UTC 2013


On 10/28/2013 08:05 AM, Daniel P. Berrange wrote:
> On Mon, Oct 28, 2013 at 02:38:46PM +0100, Pavel Raiskup wrote:
>> Allow adjust the number of commands to remember in the command
>> history.
>>
>> * tools/virsh.c (vshReadlineInit): Read and sanity the
>> VIRSH_HISTSIZE variable.
>> (VIRSH_HISTSIZE_MAX): New constant.
>> * tools/virsh.pod: Document VIRSH_HISTSIZE variable.
>> ---
>>  tools/virsh.c   | 17 ++++++++++++++++-
>>  tools/virsh.pod |  5 +++++
>>  2 files changed, 21 insertions(+), 1 deletion(-)

> 
> ACK

ACK was given before freeze, so I pushed this even though it missed rc1,
after fixing 'make syntax-check' (which only fails if you have cppi
installed):

preprocessor_indentation
cppi: tools/virsh.c: line 2751: not properly indented
maint.mk: incorrect preprocessor indentation

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131029/e90ec88c/attachment-0001.sig>


More information about the libvir-list mailing list