with 2.9p5, suddenly the ownetexample program does not work any more. I get the error message OWNET_dirprocess error: -5)
The reaseon for this error is an off by one error, that was introduced somewhere between 2.9p0 (worked) and 2.9p5. The patch below restores the correct function of the ownet library. Kind regards, Hans-Frieder --- owfs-2.9p5.orig/module.orig/ownet/c/src/c/ow_server.c 2014-04-26 17:48:46.000000000 +0200 +++ owfs-2.9p5/module/ownet/c/src/c/ow_server.c 2014-08-23 00:01:52.900939548 +0200 @@ -509,7 +509,7 @@ static int WriteToServer(int file_descri io[nio].iov_base = (char *) sp->path ; // gives a spurious compiler error -- constant is OK HERE! #endif io[nio].iov_len = strlen(sp->path) + 1; - payload = io[nio].iov_len +1; + payload = io[nio].iov_len; nio++; LEVEL_DEBUG("ToServer path=%s\n", sp->path); } Hans-Frieder Vogt e-mail: hfvogt <at> gmx .dot. net ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers