bug#45595: recvfrom! optional start and end parameter invalid

2021-11-03 Thread lloda
Hi, Your patch didn't allow for start == end, which is valid as far as I can tell. With that amended, applied in 1a8294f495cb202f8fcd0f260627c58e7a4c4d10. Thanks!

bug#45595: recvfrom! optional start and end parameter invalid

2021-01-01 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
hi, the parameter validation for the optional "start" and "end" arguments to "recvfrom!" are off by one if "end" is passed. From libguile/socket.c (master commit 64c89458e6): ... if (SCM_UNBNDP (end)) cend = SCM_BYTEVECTOR_LENGTH (buf); else { cend = scm_to_size_t (end);