bakery r110 - in trunk: . bakery/Document
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: bakery r110 - in trunk: . bakery/Document
- Date: Fri, 28 Mar 2008 09:02:07 +0000 (GMT)
Author: murrayc
Date: Fri Mar 28 09:02:06 2008
New Revision: 110
URL: http://svn.gnome.org/viewvc/bakery?rev=110&view=rev
Log:
2008-03-28 Murray Cumming <murrayc murrayc com>
* bakery/Document/Document.cc write_to_disk():
Added a workaround for gio bug
http://bugzilla.gnome.org/show_bug.cgi?id=524686
Modified:
trunk/ChangeLog
trunk/bakery/Document/Document.cc
Modified: trunk/bakery/Document/Document.cc
==============================================================================
--- trunk/bakery/Document/Document.cc (original)
+++ trunk/bakery/Document/Document.cc Fri Mar 28 09:02:06 2008
@@ -272,7 +272,10 @@
{
if(file->query_exists())
{
- stream = file->replace(); //Instead of append_to().
+ //stream = file->replace(); //Instead of append_to().
+ std::string etag_out;
+ file->replace_contents(m_strContents, std::string(), etag_out); //TODO: This is a workaround for http://bugzilla.gnome.org/show_bug.cgi?id=524686
+ return true;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]