Re: [Tracker] Wrong version information
- From: Halton Huo <Halton Huo Sun COM>
- To: Peter Rullmann <peter p4n net>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] Wrong version information
- Date: Tue, 18 Mar 2008 11:22:43 +0800
On Mon, 2008-03-17 at 18:03 +0100, Peter Rullmann wrote:
Hi,
it seems updating the integer version information of trackerd was
forgotten with the previous releases. The dbus method GetVersion
returns the wrong version. Here's the diff:
Index: src/trackerd/tracker-utils.h
===================================================================
--- src/trackerd/tracker-utils.h        (revision 1231)
+++ src/trackerd/tracker-utils.h        (working copy)
@@ -47,7 +47,7 @@
 #define TRACKER_DB_VERSION_REQUIRED    13
 #define TRACKER_VERSION                        VERSION
Can we use TRACKER_VERSION instead?
Since only tracker_dbus_method_get_version () use this macro, we could
convert the string "0.6.6" into integer in this function. 
-#define TRACKER_VERSION_INT            604
+#define TRACKER_VERSION_INT            606
 /* default performance options */
 #define MAX_INDEX_TEXT_LENGTH          1048576
cu,
Peter
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]