|
|
Subject: [tracker] ttl2sgml: Do not call fclose if file is NULL - msg#01820
commit 26bf6150db206d15aa66653b2ac7af405e33341c
Author: JÃrg Billeter <j@xxxxxxxxx>
Date: Thu Jan 26 16:03:26 2012 +0100
ttl2sgml: Do not call fclose if file is NULL
docs/tools/ttl2sgml.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/docs/tools/ttl2sgml.c b/docs/tools/ttl2sgml.c
index 898d75c..8cc9302 100644
--- a/docs/tools/ttl2sgml.c
+++ b/docs/tools/ttl2sgml.c
@@ -116,7 +116,10 @@ main (gint argc, gchar **argv)
g_option_context_free (context);
fclose (f);
- fclose (fts);
+
+ if (fts) {
+ fclose (fts);
+ }
return 0;
}
_______________________________________________
commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Thread at a glance:
Previous Message by Date:
[libwnck] release: post-release bump to 3.3.90
commit 2d7cd847d32a959a91ae5c574c166f6faacb4543
Author: Vincent Untz <vuntz@xxxxxxxxx>
Date: Tue Feb 7 08:34:15 2012 +0100
release: post-release bump to 3.3.90
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 35b498e..c3bdbef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ(2.62)
m4_define([wnck_major_version], [3])
m4_define([wnck_minor_version], [3])
-m4_define([wnck_micro_version], [5])
+m4_define([wnck_micro_version], [90])
m4_define([wnck_version],
[wnck_major_version.wnck_minor_version.wnck_micro_version])
_______________________________________________
commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Next Message by Date:
[tracker] libtracker-data: Fix dead code with disabled journal
commit 147b3132052349984548267e10d51c80f73a718b
Author: JÃrg Billeter <j@xxxxxxxxx>
Date: Thu Jan 26 16:15:09 2012 +0100
libtracker-data: Fix dead code with disabled journal
src/libtracker-data/tracker-data-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c
b/src/libtracker-data/tracker-data-manager.c
index cb998c3..88b1763 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -3864,6 +3864,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
return FALSE;
}
+#ifndef DISABLE_JOURNAL
if (uri_id_map) {
/* restore all IDs from ontology journal */
GHashTableIter iter;
@@ -3878,9 +3879,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
if (internal_error) {
g_propagate_error (error,
internal_error);
-#ifndef DISABLE_JOURNAL
tracker_db_journal_shutdown (NULL);
-#endif /* DISABLE_JOURNAL */
tracker_db_manager_shutdown ();
tracker_ontologies_shutdown ();
if (!reloading) {
@@ -3892,6 +3891,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
}
}
}
+#endif /* DISABLE_JOURNAL */
/* store ontology in database */
for (l = sorted; l; l = l->next) {
_______________________________________________
commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Previous Message by Thread:
[libwnck] release: post-release bump to 3.3.90
commit 2d7cd847d32a959a91ae5c574c166f6faacb4543
Author: Vincent Untz <vuntz@xxxxxxxxx>
Date: Tue Feb 7 08:34:15 2012 +0100
release: post-release bump to 3.3.90
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 35b498e..c3bdbef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ(2.62)
m4_define([wnck_major_version], [3])
m4_define([wnck_minor_version], [3])
-m4_define([wnck_micro_version], [5])
+m4_define([wnck_micro_version], [90])
m4_define([wnck_version],
[wnck_major_version.wnck_minor_version.wnck_micro_version])
_______________________________________________
commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Next Message by Thread:
[tracker] libtracker-data: Fix dead code with disabled journal
commit 147b3132052349984548267e10d51c80f73a718b
Author: JÃrg Billeter <j@xxxxxxxxx>
Date: Thu Jan 26 16:15:09 2012 +0100
libtracker-data: Fix dead code with disabled journal
src/libtracker-data/tracker-data-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c
b/src/libtracker-data/tracker-data-manager.c
index cb998c3..88b1763 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -3864,6 +3864,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
return FALSE;
}
+#ifndef DISABLE_JOURNAL
if (uri_id_map) {
/* restore all IDs from ontology journal */
GHashTableIter iter;
@@ -3878,9 +3879,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
if (internal_error) {
g_propagate_error (error,
internal_error);
-#ifndef DISABLE_JOURNAL
tracker_db_journal_shutdown (NULL);
-#endif /* DISABLE_JOURNAL */
tracker_db_manager_shutdown ();
tracker_ontologies_shutdown ();
if (!reloading) {
@@ -3892,6 +3891,7 @@ tracker_data_manager_init (TrackerDBManagerFlags flags,
}
}
}
+#endif /* DISABLE_JOURNAL */
/* store ontology in database */
for (l = sorted; l; l = l->next) {
_______________________________________________
commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
|
|