cregistry/registry.c: Fix build error. dirname(3) might change the passed argument, therefore we need to strdup() the const char *path first.
cregistry/registry.c:
Fix build error. dirname(3) might change the passed argument, therefore we need
to strdup() the const char *path first.

git-svn-id: 620571fa9b4bd0cbce9a0cf901e91ef896adbf27@36500 d073be05-634f-4543-b044-5fe20cf6d1d6

neverpanic/macports-base,neverpanic/macports-base,danchr/macports-base,macports/macports-base,macports/macports-base,danchr/macports-base