projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6ec781
)
Fix version comparision bug
author
Glenn L McGrath
<bug1@ihug.co.nz>
Wed, 15 Aug 2001 11:25:01 +0000
(11:25 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Wed, 15 Aug 2001 11:25:01 +0000
(11:25 -0000)
archival/dpkg.c
patch
|
blob
|
history
dpkg.c
patch
|
blob
|
history
diff --git
a/archival/dpkg.c
b/archival/dpkg.c
index
48c3928
..
d7279cf
100644
(file)
--- a/
archival/dpkg.c
+++ b/
archival/dpkg.c
@@
-217,7
+217,7
@@
int version_compare_part(const char *version1, const char *version2)
if (version1 == NULL) {
version1 = xstrdup("");
}
- if (version2
!
= NULL) {
+ if (version2
=
= NULL) {
version2 = xstrdup("");
}
upstream_len1 = strlen(version1);
diff --git
a/dpkg.c
b/dpkg.c
index
48c3928
..
d7279cf
100644
(file)
--- a/
dpkg.c
+++ b/
dpkg.c
@@
-217,7
+217,7
@@
int version_compare_part(const char *version1, const char *version2)
if (version1 == NULL) {
version1 = xstrdup("");
}
- if (version2
!
= NULL) {
+ if (version2
=
= NULL) {
version2 = xstrdup("");
}
upstream_len1 = strlen(version1);