[gnutls-devel] Guile-GnuTLS | 32bit time_t fixes. (!41)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Sat Apr 12 16:40:11 CEST 2025
Dariqq created a merge request: https://gitlab.com/gnutls/guile/-/merge_requests/41
Project:Branches: Dariqq/guile:fix-32bit-time_t to gnutls/guile:master
Author: Dariqq
Fixes https://gitlab.com/gnutls/guile/-/issues/35
First commit defines the alias scm_to/from_time_t (maybe this should have a gnutls prefix instead of the guile prefix but idk) to the correct size integer conversion function and errors if it is not 4 or 8.
Second commit is a bit of hack to get the SIZEOF_TIME_T value into the scheme test via an environment variable and restores the previous test values in case it is 32 bit. Don't know if there is a better to achieve the same result.
I built and ran the tests successfully on a 32bit machine and with `guix build -f guix.scm -s i686-linux` (apart from the SRP test.)
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/guile/-/merge_requests/41
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20250412/21da594a/attachment.html>
More information about the Gnutls-devel
mailing list