projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1849f54
)
repo_haiku: do not use ":" for an empty epoch
author
Michael Schroeder
<mls@suse.de>
Wed, 17 Apr 2013 13:44:48 +0000
(15:44 +0200)
committer
Michael Schroeder
<mls@suse.de>
Wed, 17 Apr 2013 13:44:48 +0000
(15:44 +0200)
ext/repo_haiku.cpp
patch
|
blob
|
history
diff --git
a/ext/repo_haiku.cpp
b/ext/repo_haiku.cpp
index
1f0b5cf
..
a417934
100644
(file)
--- a/
ext/repo_haiku.cpp
+++ b/
ext/repo_haiku.cpp
@@
-22,9
+22,8
@@
static BString haiku_version_to_string(const BPackageVersion &version)
if (version.InitCheck() != B_OK)
return BString();
- // compose ":<major>.<minor>.<micro>" (empty epoch)
- BString string(":");
- string << version.Major();
+ // compose "<major>.<minor>.<micro>" (empty epoch)
+ BString string(version.Major());
if (!version.Minor().IsEmpty())
{
string << '.' << version.Minor();