bug#36340: [PATCH 0/2] bug#36340 Fixes to --disable-networking

2025-03-09 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
These are fixes for Guile when built with the --disable-networking option. Michael Gran (2): Fixes export of suspendable-ports socket funcs when networking disabled Disable some socket tests when sockets not provided module/ice-9/suspendable-ports.scm | 46

bug#76906: make distcheck fails

2025-03-09 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
Make distcheck on main is not working for me. The issue is when it tries to create a file called .version-t and then move it to .version. It tries to create this file in $top_srcdir, which ought to be read-only. The following patch, in which I build it in $top_builddir, works for me. Regards, Mi

bug#76907: Potential buffer overflow in getsockopt

2025-03-09 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
struct timeval is a potential return value of struct getsockopt, but, when HAVE_STRUCT_LINGER is not defined, scm_t_getsockopt_result may be too small to hold a struct timeval. To fix this, struct timeval can be added to the scm_t_getsockopt_result union. Regards, Mike Gran >From 0ebd33ee05ad02a

bug#36340: [PATCH 1/2] bug#36340: Fixes suspendable-ports networking disabled

2025-03-09 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
When guile is built with --disable-networking, (ice-9 suspendable-ports) will attempt to re-export non-existent accept and socket functions. * module/ice-9/suspendable-ports.scm (accept, connect): set to #f when (guile) module does not have accept or connect (guile-port-bindings): new variable

bug#36340: [PATCH 2/2] bug#36340: Disable tests when sockets not provided

2025-03-09 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
* test-suite/tests/00-repl-server.test (call-with-repl-server): throw unsupported when sockets not provided * test-suite/tests/web-server.test (expect, "server is listening"): throw unresolved when socket not provided --- test-suite/tests/00-repl-server.test | 3 ++- test-suite/tests/web-serve