[anjuta] bgo #786309 - segfault when shm support is missing



commit b21b07badafc1f659255b413ace2aa13e982a469
Author: S├ębastien Granjoux <seb sfo free fr>
Date:   Sun Aug 20 14:01:29 2017 +0200

    bgo #786309 - segfault when shm support is missing

 plugins/symbol-db/symbol-db-engine-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/symbol-db/symbol-db-engine-core.c b/plugins/symbol-db/symbol-db-engine-core.c
index 11e1ea4..37d6e04 100644
--- a/plugins/symbol-db/symbol-db-engine-core.c
+++ b/plugins/symbol-db/symbol-db-engine-core.c
@@ -1561,7 +1561,7 @@ sdb_engine_scan_files_1 (SymbolDBEngine * dbe, GPtrArray * files_list,
                if ((priv->shared_mem_fd = 
                         shm_open (temp_file, O_CREAT|O_RDWR, S_IRUSR|S_IWUSR)) < 0)
                {
-                       g_warning ("Error while trying to open a shared memory file. Be"
+                       g_error ("Error while trying to open a shared memory file. Be"
                                           "sure to have "SHARED_MEMORY_PREFIX" mounted with tmpfs");
                }
        


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]