[mythtv-commits] mythtv commit: r19519 - in trunk/mythtv by danielk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Wed Dec 31 17:08:14 UTC 2008
Author: danielk
Date: 2008-12-31 17:08:14 +0000 (Wed, 31 Dec 2008)
New Revision: 19519
Changeset: http://cvs.mythtv.org/trac/changeset/19519
Added:
trunk/mythtv/libs/libmythui/lirc_client.c
trunk/mythtv/libs/libmythui/lirc_client.h
Modified:
trunk/mythtv/configure
trunk/mythtv/libs/libmythui/libmythui.pro
trunk/mythtv/libs/libmythui/lirc.cpp
trunk/mythtv/libs/libmythui/lirc.h
Log:
Fixes #6041. Don't segfault on old style lirc config files.
The fallback parser in the lirc_client lib relies on some static globals which are only initialized if lirc_init() is called. We stopped calling that in [19499] because of some other bugs in that function. Modern lircrc's were unaffected so this problem didn't turn up in my testing. This pulls in the lirc_client.c and fixes the bugs and gets rid of the static globals so we can call lirc_init() and allow the legacy parser code to work correctly.
More information about the mythtv-commits
mailing list