I agree this would be the correct fix for the compiler warnings

Any chance of a v1.4.3 soon ?

2009/11/20 Johan Bergström <[email protected]>:
> How about something like:
>
> commit 0a02e0d6e863aa2fc805462b5f5527a244a1a6e7
> Author: Johan Bergström <[email protected]>
> Date:   Fri Nov 20 14:51:13 2009 +0100
>
>    10.6 build fix
>
> diff --git a/binlog.c b/binlog.c
> index 8e2ab64..377eac9 100644
> --- a/binlog.c
> +++ b/binlog.c
> @@ -261,7 +261,7 @@ binlog_close(binlog b)
>  {
>     if (!b) return;
>     if (b->fd < 0) return;
> -    if (b->free) 0 && ftruncate(b->fd, lseek(b->fd, b->free,
> SEEK_END));
> +    if (b->free) (void) ftruncate(b->fd, lseek(b->fd, b->free,
> SEEK_END));
>     close(b->fd);
>     b->fd = -1;
>     binlog_dref(b);
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "beanstalk-talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/beanstalk-talk?hl=.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en.


Reply via email to