String the offline root path from the file_name in file_hash_get_file_owner().
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 11 Jun 2010 02:07:29 +0000 (02:07 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 11 Jun 2010 02:07:29 +0000 (02:07 +0000)
commitb4cebed6238b42ad45e79a6cf28749d0626658c6
tree79292c313b81a5d85f9575f947e160a6007921cf
parent2b696d8b96d28277137305526e5217752509b033
String the offline root path from the file_name in file_hash_get_file_owner().

file_hash_set_file_owner() strips the offline root path, so this reciprocal
function should do likewise. This makes behaviour consistent with and without
an offline root.

git-svn-id: http://opkg.googlecode.com/svn/trunk@534 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
libopkg/pkg_hash.c