Re: fetchnews.c: invalid operands to binary

2006-04-10 Thread Antoine Jacoutot
On Mon, 10 Apr 2006, Ken Murchison wrote: try this patch: https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/fetchnews.c.diff?r1=1.14&r2=1.15&f=u It now compiles great :) Thanks so much for fixing this. Let me know if you need more testing or anything. Regards, -- Antoine k -

Re: fetchnews.c: invalid operands to binary

2006-04-10 Thread Ken Murchison
Ken Murchison wrote: Gabor Gombas wrote: On Mon, Apr 10, 2006 at 02:20:08PM +0200, Antoine Jacoutot wrote: 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

Re: fetchnews.c: invalid operands to binary

2006-04-10 Thread Antoine Jacoutot
Selon Ken Murchison <[EMAIL PROTECTED]>: > I have a portable fix that I am working on right now. Fantastic :) Thanks! -- Antoine Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: fetchnews.c: invalid operands to binary

2006-04-10 Thread Ken Murchison
Gabor Gombas wrote: On Mon, Apr 10, 2006 at 02:20:08PM +0200, Antoine Jacoutot wrote: 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 c

Re: fetchnews.c: invalid operands to binary

2006-04-10 Thread Gabor Gombas
On Mon, Apr 10, 2006 at 02:20:08PM +0200, Antoine Jacoutot wrote: > 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 a

Re: fetchnews.c: invalid operands to binary

2006-04-10 Thread Antoine Jacoutot
Selon Ken Murchison <[EMAIL PROTECTED]>: > Antoine Jacoutot wrote: > > Selon Ken Murchison <[EMAIL PROTECTED]>: > >> 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

Re: fetchnews.c: invalid operands to binary

2006-04-04 Thread Gabor Gombas
On Tue, Apr 04, 2006 at 08:29:45AM -0400, Ken Murchison wrote: > 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. >From 'man timezone': The tzset() function initializes the tzname variable from the

Re: fetchnews.c: invalid operands to binary

2006-04-04 Thread Ken Murchison
Antoine Jacoutot wrote: Selon Ken Murchison <[EMAIL PROTECTED]>: 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 th

Re: fetchnews.c: invalid operands to binary

2006-04-04 Thread Antoine Jacoutot
Selon Ken Murchison <[EMAIL PROTECTED]>: > 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

Re: fetchnews.c: invalid operands to binary

2006-04-04 Thread Ken Murchison
Antoine Jacoutot wrote: Selon Ken Murchison <[EMAIL PROTECTED]>: This is definitely not what you want to do. I don't know why OpenBSD has a problem with this. It compiles fine on Linux and Solaris. You could try changing #436 to: stamp -= (time_t) timezone; Yes, this works fine now :) I'

Re: fetchnews.c: invalid operands to binary

2006-04-04 Thread Antoine Jacoutot
Selon Ken Murchison <[EMAIL PROTECTED]>: > This is definitely not what you want to do. I don't know why OpenBSD > has a problem with this. It compiles fine on Linux and Solaris. You > could try changing #436 to: > > stamp -= (time_t) timezone; Yes, this works fine now :) Thanks a lot, I appreci

RE: fetchnews.c: invalid operands to binary

2006-04-03 Thread Raymond Sundland
etchnews.c: invalid operands to binary Antoine Jacoutot wrote: > Hi... > > I'm trying to compile the 2.2.13 version of cyrus-imapd under OpenBSD. > I've never had issues with earlier versions, but now, there seems to be > some changes in imap/fetchnews.c and I get the

Re: fetchnews.c: invalid operands to binary

2006-04-03 Thread Ken Murchison
Antoine Jacoutot wrote: Hi... I'm trying to compile the 2.2.13 version of cyrus-imapd under OpenBSD. I've never had issues with earlier versions, but now, there seems to be some changes in imap/fetchnews.c and I get the following error: cc -c -I.. -I./../lib -I/usr/include -I./../sieve -I/us

fetchnews.c: invalid operands to binary

2006-04-02 Thread Antoine Jacoutot
Hi... I'm trying to compile the 2.2.13 version of cyrus-imapd under OpenBSD. I've never had issues with earlier versions, but now, there seems to be some changes in imap/fetchnews.c and I get the following error: cc -c -I.. -I./../lib -I/usr/include -I./../sieve -I/usr/local/include/db4 -I/us