mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-15 17:12:36 +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>
|
||||
* Added a rule to remove stale moc(1) files in
|
||||
'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);
|
||||
ver_major=f0[0].toInt();
|
||||
ver_minor=f0[1].toInt();
|
||||
ver_point=f0[2].toInt();
|
||||
if(f0.size()>=2) {
|
||||
ver_minor=f0[1].toInt();
|
||||
if(f0.size()>=3) {
|
||||
ver_point=f0[2].toInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user