From b16210d877e072cf87cff3f8a84f677e8e1e59a8 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 29 Jun 1996 03:32:45 +0100 Subject: [PATCH] dpkg (1.2.10); priority=MEDIUM * Fixed bug in old-style version/revision number parsing. (Bug#3440.) -- Ian Jackson Sat, 29 Jun 1996 03:32:45 +0100 --- debian.Changelog | 6 ++++++ debian.rules | 2 +- lib/fields.c | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian.Changelog b/debian.Changelog index 4edd6ddb..02886421 100644 --- a/debian.Changelog +++ b/debian.Changelog @@ -1,3 +1,9 @@ +dpkg (1.2.10); priority=MEDIUM + + * Fixed bug in old-style version/revision number parsing. (Bug#3440.) + + -- Ian Jackson Sat, 29 Jun 1996 03:32:45 +0100 + dpkg (1.2.9); priority=MEDIUM * Fixed status database updates reading bug. diff --git a/debian.rules b/debian.rules index 1fd69f43..c2b8c967 100755 --- a/debian.rules +++ b/debian.rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f package=dpkg -version=1.2.9 +version=1.2.10 archi=$(shell dpkg --print-architecture) DIR:=$(shell pwd) diff --git a/lib/fields.c b/lib/fields.c index 103a2275..a2b26fb8 100644 --- a/lib/fields.c +++ b/lib/fields.c @@ -189,6 +189,7 @@ void f_revision(struct pkginfo *pigp, struct pkginfoperfile *pifp, if (pifp->version.revision && *pifp->version.revision) { newversion= nfmalloc(strlen(pifp->version.version)+strlen(pifp->version.revision)+2); sprintf(newversion,"%s-%s",pifp->version.version,pifp->version.revision); + pifp->version.version= newversion; } pifp->version.revision= nfstrsave(value); } -- 2.39.5