update brand
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 14 Jun 2006 04:35:20 +0000 (04:35 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 14 Jun 2006 04:35:20 +0000 (04:35 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1930 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/print.c
ltt/branches/poly/lttv/lttv/state.c

index 953326ab39004090ec2ecda609d03cbaf15cc5ad..f51e7b6e97f6bc0092c29ad5e1fe69026e822b60 100644 (file)
@@ -236,7 +236,7 @@ void lttv_event_to_string(LttEvent *e, GString *s,
 
   guint i, num_fields;
 
-  g_string_set_size(s,0);
+  s = g_string_set_size(s,0);
 
   facility = ltt_event_facility(e);
   event_type = ltt_event_eventtype(e);
index a3a3102a50039a3adbb2e7c58003bbd07c5f2046..33b4c2f4c1a1573b0f3b4d867197bfc69392e4e8 100644 (file)
@@ -1660,8 +1660,9 @@ static gboolean process_fork(void *hook_data, void *call_data)
                     before the fork event */
     child_process->ppid = process->pid;
   }
-       g_assert(child_process->name == LTTV_STATE_UNNAMED);
-       child_process->name = process->name;
+  g_assert(child_process->name == LTTV_STATE_UNNAMED);
+  child_process->name = process->name;
+  child_process->brand = process->brand;
 
   return FALSE;
 }
@@ -1779,6 +1780,7 @@ static gboolean process_exec(void *hook_data, void *call_data)
   null_term_name[name_len] = '\0';
 
   process->name = g_quark_from_string(null_term_name);
+  process->brand = LTTV_STATE_UNBRANDED;
   g_free(null_term_name);
   return FALSE;
 }
This page took 0.02505 seconds and 4 git commands to generate.