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

Daniel Veillard veillard at redhat.com
Wed Jan 6 17:18:12 UTC 2010


On Mon, Jan 04, 2010 at 12:06:29AM +0100, Matthias Bolte wrote:
> 2010/1/3 Laine Stump <laine at laine.org>:
> > 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.

  ACK, if using libreadline "GPL trojan horse" as I have seen it called
recently :-) then we should use it to the full extend, and saving the
history really does help !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list