Argh. Realize we already have equivalents of initCli() and finishCli()
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 20 Aug 2010 12:17:08 +0000 (15:17 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 20 Aug 2010 12:23:48 +0000 (15:23 +0300)
commitfbd92df7544462a88cd8c752ffe07263dc8bb858
treee6e2f009714b930ca8cd7371a9aa62fbc9334834
parente951c42146d89a5f4abdb02eaf9e44eead235e2f
Argh. Realize we already have equivalents of initCli() and finishCli()
- rpmcliInit() and rpmcliFini() do almost exactly the same as our
  newborn cli-helpers, but they've been almost unused until now.
  Use them and lose the new ones.. doh.
- The downside is that popt aliases are now broken when running commands
  from the build tree due to lt-foo in argv[0], whereas initCli() took
  and explicit popt context name argument. Oh well...
- rpmcliFini() was missing several necessary memory cleanup calls,
  add them there while at it.
cliutils.c
cliutils.h
lib/poptALL.c
rpmbuild.c
rpmqv.c