summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorIngo Weinhold <ingo_weinhold@gmx.de>2013-04-18 16:11:01 +0200
committerIngo Weinhold <ingo_weinhold@gmx.de>2013-04-18 18:10:44 +0200
commit6881184db997deb4d5bc0ff9f5c1402bf359391e (patch)
tree1018042990a63de73cd5bdb9ddf40152fa0dbcad /ext
parentce79dec8a03a122dd17eefdb3cdc66068c4d0de7 (diff)
downloadlibsolv-6881184db997deb4d5bc0ff9f5c1402bf359391e.tar.gz
libsolv-6881184db997deb4d5bc0ff9f5c1402bf359391e.tar.bz2
libsolv-6881184db997deb4d5bc0ff9f5c1402bf359391e.zip
Haiku: The notation for the pre-release version part changed
Instead of using '-' as the separator for the pre-release '~' is used now. This allows to drop code in a few places where Haiku had to be special-cased before.
Diffstat (limited to 'ext')
-rw-r--r--ext/testcase.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/testcase.c b/ext/testcase.c
index 6c699e1..72f9dc8 100644
--- a/ext/testcase.c
+++ b/ext/testcase.c
@@ -981,9 +981,6 @@ testcase_write_testtags(Repo *repo, FILE *fp)
evr = pool_id2str(pool, s->evr);
arch = pool_id2str(pool, s->arch);
release = strrchr(evr, '-');
- /* haikus releases start numeric */
- if (release && pool->disttype == DISTTYPE_HAIKU && (release[1] < '0' || release[1] > '9'))
- release = evr + strlen(evr);
if (!release)
release = evr + strlen(evr);
fprintf(fp, "=Pkg: %s %.*s %s %s\n", name, (int)(release - evr), evr, *release && release[1] ? release + 1 : "-", arch);