From a3a5115c2f9e703ed36969b1749b4e9b6f3ec5f6 Mon Sep 17 00:00:00 2001 From: Eivind Kvedalen Date: Fri, 1 Jul 2011 10:00:44 +0200 Subject: [PATCH 2/2] Added bug comment --- libgeda/src/a_basic.c | 4 ++++ libgeda/src/f_basic.c | 3 +++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/libgeda/src/a_basic.c b/libgeda/src/a_basic.c index 4d839ff..9be1f1b 100644 --- a/libgeda/src/a_basic.c +++ b/libgeda/src/a_basic.c @@ -215,6 +215,10 @@ gchar *o_save_objects (TOPLEVEL *toplevel, const GList *object_list, gboolean sa /*! \brief Save a file * \par Function Description * This function saves the data in a libgeda format to a file + * + * \bug g_access introduces a race condition in certain cases, but + * solves bug #698565 in the normal use-case + * * \param [in] toplevel The current TOPLEVEL. * \param [in] object_list The head of a GList of OBJECTs to save. * \param [in] filename The filename to save the data to. diff --git a/libgeda/src/f_basic.c b/libgeda/src/f_basic.c index 3621715..5438530 100644 --- a/libgeda/src/f_basic.c +++ b/libgeda/src/f_basic.c @@ -347,6 +347,9 @@ void f_close(TOPLEVEL *toplevel) * \par Function Description * This function saves the current schematic file in the toplevel object. * + * \bug g_access introduces a race condition in certain cases, but + * solves bug #698565 in the normal use-case + * * \param [in,out] toplevel The TOPLEVEL object containing the schematic. * \param [in] filename The file name to save the schematic to. * \param [in,out] err #GError structure for error reporting, or -- 1.7.0.4