Ensure directories have trailing slashes in doLookupId()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 18 Sep 2012 06:39:38 +0000 (09:39 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 18 Sep 2012 07:00:15 +0000 (10:00 +0300)
commitad99f4e84a5fea05edca59257b6e00d91d6c8a08
treeb877c3c461a2c8a7fc028ff8d08e35250de24328
parentbb619c0672190a87c262022fd9b546ac7f7d48b9
Ensure directories have trailing slashes in doLookupId()

- In the old days, stripping trailing slashes made sense as its useless
  as it is and stripping it saved a bit of memory, but now with the
  directories in the pool things are different: while not all paths
  we'll see here necessarily exist in the pool already, NONE of them
  exists without the trailing slash, so stripping it out wastes gobs
  of memory.  Simplifies the code a bit and saves several megs of memory
  on larger transactions, what's not to like?
lib/fprint.c