Hello,

Eric Scheibler, le Wed 27 Jun 2012 18:51:35 +0200, a écrit :
> the running instance of Brltty always exits when I disconnect the attached
> braille device.

Which is not supposed to happen.  I guess that might just be another
case of the bug we have seen just after the 4.4 release.  Could you try
the attached patch?

Samuel
r6572 | dave | 2012-06-18 06:06:49 +0200 (lun. 18 juin 2012) | 2 lignes

api_unlink() should restore the server's state to exactly what it was when 
api_link() was first called. (st)

Index: a/Programs/brlapi_server.c
===================================================================
--- a/Programs/brlapi_server.c  (révision 6571)
+++ b/Programs/brlapi_server.c  (révision 6572)
@@ -2586,6 +2586,7 @@
   pthread_mutex_lock(&driverMutex);
   if (!coreActive && driverConstructed)
     suspendDriver(disp);
+  driverConstructed=0;
   pthread_mutex_unlock(&driverMutex);
   disp = NULL;
 }
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty

Reply via email to