gst/registries/gstxmlregistry.c (gst_xml_registry_open_func): Don't use O_EXCL to open temporary registry. It will p...

Original commit message from CVS:
2004-08-10  Colin Walters  <walters@redhat.com>

* gst/registries/gstxmlregistry.c (gst_xml_registry_open_func):
Don't use O_EXCL to open temporary registry.  It will prevent
registry creation if a temporary one already exists, which
is unnecessary.
This commit is contained in:
Colin Walters 2004-08-10 17:28:19 +00:00
parent 872c394a39
commit 0eadb80815
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2004-08-10 Colin Walters <walters@redhat.com>
* gst/registries/gstxmlregistry.c (gst_xml_registry_open_func):
Don't use O_EXCL to open temporary registry. It will prevent
registry creation if a temporary one already exists, which
is unnecessary.
2004-08-09 Steve Lhomme <steve.lhomme@free.fr>
* docs/gst/gstreamer-sections.txt:

View file

@ -581,7 +581,7 @@ gst_xml_registry_open_func (GstXMLRegistry * registry, GstXMLRegistryMode mode)
GST_CAT_DEBUG (GST_CAT_GST_INIT, "opening registry %s for writing", tmploc);
if ((fd = open (tmploc, O_WRONLY | O_CREAT | O_EXCL, 0644)) < 0) {
if ((fd = open (tmploc, O_WRONLY | O_CREAT, 0644)) < 0) {
g_free (tmploc);
return FALSE;
}