A non-naive implementation of argvJoin()
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 18 Feb 2013 08:44:40 +0000 (10:44 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 7 Jun 2013 07:19:25 +0000 (10:19 +0300)
commit2be61ba91bdbdfc60f0e2fc7f1f9f525ad13ab9e
treebab8adbae82c7796dc78ae6b9e48ccd2f6fd4dca
parentb118c7dc381daec6c2ba5b00b601fa7a43325fbf
A non-naive implementation of argvJoin()

- The previous version was as naive as they get, for reasonable behavior
  with non-trivial amount of data precalculating string lengths and
  allocating at one go is necessary.
(cherry picked from commit 11ba21e2ab67f14ad349252cfb890006a112867f)
rpmio/argv.c