[mythtv-commits] mythtv commit: r8093 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Dec 1 14:56:29 EST 2005


      Author: danielk
        Date: 2005-12-01 19:56:29 +0000 (Thu, 01 Dec 2005)
New Revision: 8093
   Changeset: http://cvs.mythtv.org/trac/changeset/8093

Modified:

   trunk/mythtv/libs/libmyth/mythcontext.cpp

Log:

Replace strerror_r() with strerror() in safe_eno_to_string().

strerror_r() doesn't seem to always work (l18n problem?), 
and strerror() will print the right message so long as we
copy the string before another call to strerror() in the
same thread. Since safe_eno_to_string() makes a copy we
should always print the right message now.

Also used ENO macro in one debugging message in mythcontext.cpp






More information about the mythtv-commits mailing list