Changeset 3551 for trunk/src/lib/version_compare.c
- Timestamp:
- Jan 29, 2022, 3:57:33 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/version_compare.c
r3394 r3551 116 116 if (ch2 == '~') 117 117 return 1; 118 if (ch1 == '\0' )118 if (ch1 == '\0' || ch1 == '/') /* treat '/' similar to '\0' to deal with the v14.2/ vs v14.2.11.9/ case. */ 119 119 return -1; 120 if (ch2 == '\0' )120 if (ch2 == '\0' || ch2 == '/') 121 121 return 1; 122 122 if (isdigit(ch1)) … … 251 251 { +1, "1.2.3r4567890", "1.2.3rc1" }, 252 252 { +1, "1.2.3r4567890", "1.2.3RC1" }, 253 { -1, "/tools/win.amd64/vcc/v14.2/Tools", "/tools/win.amd64/vcc/v14.2.11.9/Tools" }, 254 { -1, "/tools/win.amd64/vcc/v14.2/Tools", "/tools/win.amd64/vcc/v14.211.9/Tools" }, 255 { -1, "/tools/win.amd64/vcc/v14.2/Tools", "/tools/win.amd64/vcc/v14.2r2/Tools" }, 256 { -1, "/tools/win.amd64/vcc/v14.2/Tools", "/tools/win.amd64/vcc/v14.2-r2/Tools" }, 253 257 }; 254 258 unsigned cErrors = 0;
Note:
See TracChangeset
for help on using the changeset viewer.