diff options
author | Jeremy Compostella <jeremy.compostella@intel.com> | 2016-05-10 18:25:02 +0200 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-03-28 14:57:22 +0000 |
commit | 3d642d48e2884296bd084f6b8d8d51609d68de3f (patch) | |
tree | ababcbe4d88efefacff6cc36e0119292fc3e144f /libunwindstack/tests/MemoryFileTest.cpp | |
parent | 8678872a0076d31335d91622b9b2b5d7b0fc3551 (diff) |
libcutils: handle root directory empty path
Usually, the canned paths lack the leading '/' which means that the
root directory is an empty path. This patch makes
load_canned_fs_config() handle this empty path as the root directory.
It also make it flexible enough to handle an optional leading '/'.
Original-Author: Jeremy Compostella <jeremy.compostella@intel.com>
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Signed-off-by: Gaelle Nassiet <gaellex.nassiet@intel.com>
Change-Id: Ice759ef37d1df23a54df1158ec0d3ad7f577a069
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions