mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-01 16:42:34 +02:00
2018-08-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that could cause segfaults when determining the current schema verion.
This commit is contained in:
parent
e1e88d60a3
commit
3d99fb9a87
@ -17362,3 +17362,6 @@
|
|||||||
2018-08-11 Fred Gleason <fredg@paravelsystems.com>
|
2018-08-11 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Added a rule to remove stale moc(1) files in
|
* Added a rule to remove stale moc(1) files in
|
||||||
'web/webget/Makefile.am'.
|
'web/webget/Makefile.am'.
|
||||||
|
2018-08-11 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in rddbmgr(8) that could cause segfaults when
|
||||||
|
determining the current schema verion.
|
||||||
|
@ -54,8 +54,12 @@ VersionString::VersionString(const char *str)
|
|||||||
{
|
{
|
||||||
QStringList f0=f0.split(".",str);
|
QStringList f0=f0.split(".",str);
|
||||||
ver_major=f0[0].toInt();
|
ver_major=f0[0].toInt();
|
||||||
ver_minor=f0[1].toInt();
|
if(f0.size()>=2) {
|
||||||
ver_point=f0[2].toInt();
|
ver_minor=f0[1].toInt();
|
||||||
|
if(f0.size()>=3) {
|
||||||
|
ver_point=f0[2].toInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user