For information only: the patch undoes a change introduced in

commit 8af70c688c0d293ecb1e5d725b32f32f51d522fc
Date:   Fri Apr 11 14:54:57 2014 +0000

If possible I would suggest to tag the releases, just to make easier to 
identify commits "tag -a r2.9p5 3e2cd99173d7277d714876abe710331c97d4eae5")
(example only: double check if the commits is the actual one that corresponds 
to the given release.)

Stefano

On 23 Aug 2014, at 00:24, Hans-Frieder Vogt <hfv...@gmx.net> wrote:

> 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


------------------------------------------------------------------------------
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

Reply via email to