1 diff -ur gamin-0.1.10/server.orig/gam_node.c gamin-0.1.10/server/gam_node.c
2 --- gamin-0.1.10/server.orig/gam_node.c Mon Aug 26 15:25:23 2013
3 +++ gamin-0.1.10/server/gam_node.c Mon Aug 26 15:25:54 2013
5 * it has finished with the string. If it must keep it longer, it
6 * should makes its own copy. The returned string must not be freed.
10 gam_node_get_path(GamNode * node)
13 diff -ur gamin-0.1.10/server.orig/gam_node.h gamin-0.1.10/server/gam_node.h
14 --- gamin-0.1.10/server.orig/gam_node.h Mon Aug 26 15:25:22 2013
15 +++ gamin-0.1.10/server/gam_node.h Mon Aug 26 15:25:54 2013
17 void gam_node_set_is_dir (GamNode *node,
20 -G_CONST_RETURN char *gam_node_get_path (GamNode *node);
21 +const char *gam_node_get_path (GamNode *node);
23 GList *gam_node_get_subscriptions (GamNode *node);
25 diff -ur gamin-0.1.10/server.orig/gam_subscription.c gamin-0.1.10/server/gam_subscription.c
26 --- gamin-0.1.10/server.orig/gam_subscription.c Mon Aug 26 15:25:22 2013
27 +++ gamin-0.1.10/server/gam_subscription.c Mon Aug 26 15:25:54 2013
29 * @param sub the GamSubscription
30 * @returns The path being monitored. It should not be freed.
32 -G_CONST_RETURN char *
34 gam_subscription_get_path(GamSubscription * sub)
37 diff -ur gamin-0.1.10/server.orig/gam_subscription.h gamin-0.1.10/server/gam_subscription.h
38 --- gamin-0.1.10/server.orig/gam_subscription.h Mon Aug 26 15:25:22 2013
39 +++ gamin-0.1.10/server/gam_subscription.h Mon Aug 26 15:25:54 2013
42 int gam_subscription_get_reqno (GamSubscription *sub);
44 -G_CONST_RETURN char *gam_subscription_get_path (GamSubscription *sub);
45 +const char *gam_subscription_get_path (GamSubscription *sub);
47 GamListener *gam_subscription_get_listener (GamSubscription *sub);