2021-08-04 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in 'RDWaveFile' that caused generation
	of spurrious 'returned non-zero exit code' warnings.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-08-04 11:37:21 -04:00
parent ec13ee47e8
commit e5daddfba7
2 changed files with 4 additions and 1 deletions

View File

@ -22173,3 +22173,6 @@
2021-08-04 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbconfig(8) that caused creation of a new
database to fail.
2021-08-04 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'RDWaveFile' that caused generation
of spurrious 'returned non-zero exit code' warnings.

View File

@ -5037,7 +5037,7 @@ unsigned RDWaveFile::FrameOffset(int msecs) const
int RDWaveFile::CheckExitCode(const QString &msg,int exit_code)
{
if(exit_code!=0) {
if(exit_code<0) {
fprintf(stderr,"%s returned non-zero exit code %d [%s]\n",
msg.toUtf8().constData(),exit_code,strerror(errno));
}