Lift directory name canonicalization into a helper function
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 19 Sep 2012 09:50:31 +0000 (12:50 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 19 Sep 2012 09:50:31 +0000 (12:50 +0300)
commit0c1e3ec94df2b769fb2d6b77dbe5eca5e41f3d09
tree38d12adc2720aeb18562d4e15836c6ea2beb31e5
parent3619df6ebb5805cc69d27ad35cca746600f1d996
Lift directory name canonicalization into a helper function

- Suddenly it all seems so much clearer...
- Also try to better handle the theoretical realpath() errors: on
  failure the buffer contents are undefined and we shouldn't look
  at them, free the buf and return NULL.
lib/fprint.c