fetchnews.c: invalid operands to binary

Ken Murchison murch at andrew.cmu.edu
Tue Apr 4 07:40:28 EDT 2006


Antoine Jacoutot wrote:
> Selon Ken Murchison <murch at andrew.cmu.edu>:
>> 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'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.


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Info-cyrus mailing list