get_task_list(): construct a more detailed list
authorAndre <maan@p133.(none)>
Mon, 5 Jun 2006 19:41:15 +0000 (21:41 +0200)
committerAndre <maan@p133.(none)>
Mon, 5 Jun 2006 19:41:15 +0000 (21:41 +0200)
sched.c

diff --git a/sched.c b/sched.c
index 879ab80..bd98a51 100644 (file)
--- a/sched.c
+++ b/sched.c
@@ -112,15 +112,15 @@ char *get_task_list(void)
        char *msg = NULL;
        list_for_each_entry_safe(t, tmp, &pre_select_list, pre_select_node) {
                char *tmp_msg;
-               tmp_msg = make_message("%s%p\t%s\n", msg? msg : "", t, t->status);
+               tmp_msg = make_message("%s%p\tpre\t%s\n", msg? msg : "", t, t->status);
                free(msg);
                msg = tmp_msg;
        }
        list_for_each_entry_safe(t, tmp, &post_select_list, post_select_node) {
                char *tmp_msg;
-               if (t->pre_select)
-                       continue;
-               tmp_msg = make_message("%s%p\t%s\n", msg? msg : "", t, t->status);
+//             if (t->pre_select)
+//                     continue;
+               tmp_msg = make_message("%s%p\tpost\t%s\n", msg? msg : "", t, t->status);
                free(msg);
                msg = tmp_msg;
        }