diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2018-11-30 12:40:36 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2018-11-30 12:40:36 +0900 |
commit | 97330b5a608c2213fdf3f49bfbaa268bf9627920 (patch) | |
tree | eb753c0b9543739bb05137b73562d705d0ce8c6f /src/repodata.c | |
parent | e197f682d93362b26879b545062694a050a4c4b4 (diff) | |
download | libsolv-97330b5a608c2213fdf3f49bfbaa268bf9627920.tar.gz libsolv-97330b5a608c2213fdf3f49bfbaa268bf9627920.tar.bz2 libsolv-97330b5a608c2213fdf3f49bfbaa268bf9627920.zip |
Imported Upstream version 0.6.27upstream/0.6.27
Change-Id: I4feccd10bd9fe0514ff13520136e962b6c093175
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'src/repodata.c')
-rw-r--r-- | src/repodata.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/repodata.c b/src/repodata.c index 027c24c..06b2ea3 100644 --- a/src/repodata.c +++ b/src/repodata.c @@ -351,6 +351,8 @@ repodata_dir2str(Repodata *data, Id did, const char *suf) if (!did) return suf ? suf : ""; + if (did == 1 && !suf) + return "/"; parent = did; while (parent) { |