Re: Fw: emelFM2 pre-release available

  • From: Marcus von Appen <mva@xxxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Thu, 7 Aug 2008 10:39:54 +0200

On, Thu Aug 07, 2008, tpgww@xxxxxxxxxxx wrote:

[...]
> Feedback please.

A patch for e2_task.c is attached.

Using LANG = de_DE.UTF-8 brings up some nag screen about configuration
changes and whether they should be saved as *.save. Clicking OK won't
have any effect, instead emelfm2 exits. Trying with other locales (C,
ru_RU, ...) does not bring up that screen.

Regards
Marcus
Index: src/e2_task.c
===================================================================
--- src/e2_task.c       (revision 1043)
+++ src/e2_task.c       (working copy)
@@ -649,7 +649,7 @@
                        else
                                mthreadID = 0;
                        //arrange to cleanup monitoring if aborted
-                       pthread_cleanup_push ((gpointer) 
_e2_task_thread_demonitor, rt) //2
+                       pthread_cleanup_push ((gpointer) 
_e2_task_thread_demonitor, rt);        //2
 
                        /* this is a workaround for systems that run this 
thread before the
                           thread-creation function sets athreadID
@@ -664,7 +664,7 @@
                        rt->status = E2_TASK_RUNNING;   //FIXME enable 
downstream status change for pauses
 //                     printd (DEBUG,"queued action starts");
                        //arrange to do reporting and cleanup if aborted
-                       pthread_cleanup_push ((gpointer)_e2_task_thread_finish, 
rt)     //3
+                       pthread_cleanup_push ((gpointer)_e2_task_thread_finish, 
rt);    //3
                        //do it
                        //typically, more cleanup push/pop downstream
                        qed->result = (*actionfunc) (qed);

Other related posts: