[BRLTTY] Alva.

Samuel Thibault samuel.thibault at ens-lyon.org
Sat Jan 31 21:12:47 EST 2009


Hello,

Jan Buchal, le Fri 30 Jan 2009 12:42:44 +0100, a écrit :
> new brltty installation from svn repository.

Did HAVE_ICONV_H get defined to 1 in config.h?
Could you try to apply the attached patch in order to know which brlapi
client is producing bogus writes? (in which order do you start them?)
Please also make sure that you use -l debug and do not mix ouput from
several executions of brltty.

Samuel
-------------- next part --------------
Index: Programs/brlapi_server.c
===================================================================
--- Programs/brlapi_server.c	(révision 4276)
+++ Programs/brlapi_server.c	(copie de travail)
@@ -103,12 +103,12 @@
 Samuel Thibault <samuel.thibault at ens-lyon.org>"
 
 #define WERR(x, y, ...) do { \
-  LogPrint(LOG_ERR, "writing error %d", y); \
+  LogPrint(LOG_ERR, "writing error %d to %"PRIFD, y, x); \
   LogPrint(LOG_ERR, __VA_ARGS__); \
   writeError(x, y); \
 } while(0)
 #define WEXC(x, y, type, packet, size, ...) do { \
-  LogPrint(LOG_ERR, "writing exception %d", y); \
+  LogPrint(LOG_ERR, "writing exception %d to %"PRIFD, y, x); \
   LogPrint(LOG_ERR, __VA_ARGS__); \
   writeException(x, y, type, packet, size); \
 } while(0)


More information about the BRLTTY mailing list