Compiling on Red Hat 4 32 bit, size of string initializer issue #3

Closed
kmarsh opened this Issue Mar 19, 2010 · 1 comment

Projects

None yet

2 participants

@kmarsh
kmarsh commented Mar 19, 2010

Thank you for writing this package, it is badly needed!

I had to change time64.c lines 157 and 161 from array size [7][3] to [7][4] in order to make room for the implicit NULL character C places at the end of statically initialized strings.

After that, it compiled and ran in my test program without issue on RH4 (kernel 2.6.18+years of red hat patching).

Keep up the good work!
-Ken

@schwern
Collaborator
schwern commented Mar 19, 2010

Good catch, thanks! And glad to hear you're making use of it.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment