Re: [libvirt] [PATCH] virsh: Add persistent history using libreadline

2010-01-06 Thread Daniel Veillard
On Mon, Jan 04, 2010 at 12:06:29AM +0100, Matthias Bolte wrote: > 2010/1/3 Laine Stump : > > On 01/03/2010 02:42 PM, Matthias Bolte wrote: > >> > >> +    if (virAsprintf(&ctl->historyfile, "%s/histroy", ctl->historydir)< > >>  0) { > >> > > > > A minor typo in the format string ;-) > > > > Fixed,

Re: [libvirt] [PATCH] virsh: Add persistent history using libreadline

2010-01-03 Thread Matthias Bolte
2010/1/3 Laine Stump : > On 01/03/2010 02:42 PM, Matthias Bolte wrote: >> >> +    if (virAsprintf(&ctl->historyfile, "%s/histroy", ctl->historydir)< >>  0) { >> > > A minor typo in the format string ;-) > Fixed, thanks. Matthias -- Libvir-list mailing list Libvir-list@redhat.com https://www.redh

Re: [libvirt] [PATCH] virsh: Add persistent history using libreadline

2010-01-03 Thread Laine Stump
On 01/03/2010 02:42 PM, Matthias Bolte wrote: +if (virAsprintf(&ctl->historyfile, "%s/histroy", ctl->historydir)< 0) { A minor typo in the format string ;-) -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH] virsh: Add persistent history using libreadline

2010-01-03 Thread Matthias Bolte
--- tools/virsh.c | 69 +--- 1 files changed, 65 insertions(+), 4 deletions(-) diff --git a/tools/virsh.c b/tools/virsh.c index 21f9710..e2a32b4 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -41,6 +41,7 @@ #endif #include "internal.h"