[gstreamer-bugs] [Bug 587676] Call tzset() before localtime_r(), in e.g. gst-plugins-base/ext/pango/gstclockoverlay.c

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Jul 5 09:02:43 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=587676

  GStreamer | gst-plugins-base | Ver: 0.10.22

Sebastian Dröge changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slomo at circular-chaos.org
 Attachment #137782|none                        |committed
               Flag|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.24




------- Comment #2 from Sebastian Dröge  2009-07-05 16:02 UTC -------
commit 04e23f2d6a3ca3b10e609e6084e52746c16e208a
Author: Hans-Peter Nilsson <hp at gcc.gnu.org>
Date:   Sun Jul 5 18:01:38 2009 +0200

    pango: Call tzset() before localtime_r()

    POSIX and your local friendly ctime(3) manual entry says that localtime_r
isn't
    required to set the state variables that define the current timezone. 
Indeed,
    glibc (at least 2.9) doesn't do this for subsequent calls.  The effect is
that
    if the system timezone is changed for a running program between two calls
to
    gst_clock_overlay_render_time, it won't be noticed.  For glibc, changing
the
    timezone equals /etc/localtime being modified.

    Fixes bug #587676.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=587676.




More information about the Gstreamer-bugs mailing list