projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 0.6.27
[platform/upstream/libsolv.git]
/
src
/
repodata.c
diff --git
a/src/repodata.c
b/src/repodata.c
index
027c24c
..
06b2ea3
100644
(file)
--- 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)
{