[gstreamer-bugs] [Bug 544776] [win32] binary registry may fail if glib is using a different c runtime

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jul 28 14:45:41 PDT 2008


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=544776

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #6 from Ole André Vadla Ravnås  2008-07-28 21:45 UTC -------
Created an attachment (id=115456)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=115456&action=view)
Alternate solution

The patch looks good to me.

The only alternative approach that I can think of is to use GetTempFileName()
followed by open(), and use g_mkstemp() for other platforms. Here's a quick and
dirty mock-up, not tested with GLib built with a different CRT though. It's
just a mock so I didn't bother with any error reporting (errno cannot be used
like on non-Windows), and it's not really polished, just to spin some ideas
around.


-- 
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=544776.




More information about the Gstreamer-bugs mailing list