[mythtv-commits] mythtv commit: r7453 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Oct 11 19:22:42 UTC 2005


      Author: danielk
        Date: 2005-10-11 19:22:42 +0000 (Tue, 11 Oct 2005)
New Revision: 7453
   Changeset: http://cvs.mythtv.org/trac/changeset/7453

Modified:

   trunk/mythtv/libs/libmyth/mythcontext.cpp
   trunk/mythtv/libs/libmyth/mythcontext.h

Log:

I bunched a three mythcontext changes to avoid too much recomplining.

I've added a ENO macro which when appended with "+" or "<<" to
the VERBOSE args will print out the strerror_r() message on the
next line. This should let us remove all various perror() and
strerror() calls over time, and standardize the errno messages.
The errno is a thread local variable. So those two functions
are not thread unsafe, but perror() in-particular can mess up 
debugging logs because it doesn't respect the verbose lock.

The second change is to make MythEvent accept an automatic
(i.e. on stack) QString. This is just for convenience of
being able avoid an extra variable declaration.

Third, I added more documentation to the MYTH_PROTO_VERSION define,
specifically adding a remininder that the mythbackend.php version
of that value also needs to be incremented. :)






More information about the mythtv-commits mailing list