On 12/27/24 17:51, Nicolas Mora wrote:
Hello,
I added some print() and all result[] values are zero.
That means that the transition from C-Code to python did not work.
I think the problem is in src/Net-ICal-Libical/netical.i:
In this define, "start" and "array" should be "unsigned long long" or
"uint64_t":
int icalrecur_expand_recurrence(const char* rule, int start,
int count, int *array);
Note that int or long can be 64-bit on 64-bit platforms, but on 32-bit
platforms you need
to use "long long" or "uint64_t" to refer to a 64-bit (time_t) value.
Thanks for pointing out the source.
Can you provide a patch so I could also transfer it upstream?
I would love to provide a patch, but I was not able to come up with one, because
(as I wrote in the next sentence) I'm not a python expert.
Maybe the authors have an idea how to fix it.
I'm no python expert, but there is the (slow) hppa porterbox available:
parisc.debian.net
This address doesn't seem to point to a valid web site
It's not a website.
It's the hostname of the debian hppa porter box, see:
https://wiki.debian.org/PorterBoxHowToUse and
https://db.debian.org/machines.cgi?sortby=purpose&sortorder=dsc and
There are two machines which you should be able to log into with your debian
developer ssh key, e.g.
run "ssh panama.debian.net", or "ssh parisc.debian.net".
Helge