[mythtv-commits] mythtv/master commit: 58b0909d5 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Tue Jul 12 17:33:07 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-07-12T10:32:48-07:00
   Push Date:  2011/07/12 10:32:59 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  58b0909d5f4018418b3fa200eab1975813446e9c
   Changeset:  https://github.com/MythTV/mythtv/commit/58b0909d5

Log:

Fix log messages containing %

Fixed #9919

The issue here is that after the fully formatted QString is converted to a
char *, it is still run through vsnprintf as that is common code with the C
implementation.  To fix this, I have added a regexp-based replace in the macro
that will convert "%" or "%%" to "%%".  This will account for places we already
put "%%" into the QString, and for those we did not.

Modified:

   mythtv/libs/libmythbase/mythlogging.h



More information about the mythtv-commits mailing list