projects
/
oweals
/
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 48c3928941ba36474059e8f63fa139ff4b3a335f..d7279cfd04992374117b83dd2e4b38521aa492c6 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 48c3928941ba36474059e8f63fa139ff4b3a335f..d7279cfd04992374117b83dd2e4b38521aa492c6 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);