diff options
author | Ian Jackson <ian@chiark.chu.cam.ac.uk> | 1996-06-29 03:32:45 +0100 |
---|---|---|
committer | Ian Jackson <ian@chiark.chu.cam.ac.uk> | 1996-06-29 03:32:45 +0100 |
commit | b16210d877e072cf87cff3f8a84f677e8e1e59a8 (patch) | |
tree | 3b63c443ec50540d07564c07282084c9893df031 | |
parent | f01e98af44f6e43f63a595da34233c7a544a7ce7 (diff) | |
download | dpkg-b16210d877e072cf87cff3f8a84f677e8e1e59a8.tar.gz |
dpkg (1.2.10); priority=MEDIUM
* Fixed bug in old-style version/revision number parsing. (Bug#3440.)
-- Ian Jackson <ian@chiark.chu.cam.ac.uk> Sat, 29 Jun 1996 03:32:45 +0100
-rw-r--r-- | debian.Changelog | 6 | ||||
-rwxr-xr-x | debian.rules | 2 | ||||
-rw-r--r-- | lib/fields.c | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/debian.Changelog b/debian.Changelog index 4edd6ddba..028864214 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 <ian@chiark.chu.cam.ac.uk> 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 1fd69f43f..c2b8c9678 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 103a22755..a2b26fb8a 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); } |