fetchnews.c: invalid operands to binary

Antoine Jacoutot ajacoutot at lphp.org
Mon Apr 10 08:20:08 EDT 2006


Selon Ken Murchison <murch at andrew.cmu.edu>:
> Antoine Jacoutot wrote:
> > Selon Ken Murchison <murch at andrew.cmu.edu>:
> >> I'm told that OpenBSD might not have a timezone variable, but timezone()
> >> is a function instead.  If this is the case, my fix will not do what you
> >> want.
> >
> > Thanks a lot for the warning.
> > I will try get in touch with OpenBSD devs on this issue and will get back
> to you
> > with a proper fix for this OS (if we can find one).
>
> Its entirely possible that the current code is taking advantage of a
> "feature" of Linux which is not intended to be exposed to the user.  I
> don't have time at the moment to look into rewriting the current code,
> but I'd be happy to accept a patch which fixes it, and maintains the
> intended logic.

Hi...

Back to this thread again.
So, after chatting with some OpenBSD devs, the included patch should fix the
issue.
It would be nice to officialy include it, if the fix is OK with you (and maybe
with an #ifdef in case it only applies to OpenBSD).

Let me know.

Regards,

-- 
Antoine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imap_fetchnews.c.diff
Type: application/octet-stream
Size: 330 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20060410/df6e563f/imap_fetchnews.c.obj


More information about the Info-cyrus mailing list