From: Claas H. <Cla...@li...> - 2010-02-04 09:25:30
|
Hello, here is a very small fix (against current svn) for the plugin_fifo. You need to clear errno after creating the FIFO. Without clearing the errno variable you will get an error in fiforead() like this: [FIFO] Error 2: No such file or directory babel@eisler:~/tmp/lcd4linux$ svn diff plugin_fifo.c Index: plugin_fifo.c =================================================================== --- plugin_fifo.c (Revision 1097) +++ plugin_fifo.c (Arbeitskopie) @@ -110,6 +110,8 @@ error("Couldn't create FIFO \"%s\": %s\n", fd.path, strerror(errno)); return -1; } + /* clear errno */ + errno = 0; fd.created = 1; return 0; } Mit freundlichem Gruss Claas Hilbrecht |