Time Nick Message 12:57 schwarzwald[m] Minetest binds the ipv6 socket on my docker image and then crashes with errno set to a bind() error code on my docker image. 12:59 schwarzwald[m] https://stackoverflow.com/questions/61002905/linux-c-ipv6-udp-multicast-sendto-fails-with-errno-eaddrnotavail-99-cannot-a 13:00 schwarzwald[m] This is the only reference I can find to sendto() failing with that error code. 13:04 schwarzwald[m] https://github.com/minetest/minetest/pull/13573 is ready for review. I think it's appropriate to address the test failure in a separate issue/PR. 13:14 sfan5 note that docker can intercepts syscalls for sandboxing purposes so it's possible to see errors that nobody would expect and/or that aren't documented 16:08 schwarzwald[m] Do we have a utility for formatting a std::string? Creating a stringstream to build the string and then extract it is messy and probably inefficient. 16:21 schwarzwald[m] I'm noticing that test failure on my host VM now as well. Not sure why I didn't see it before. 16:25 Krock there's a porting::mt_snprintf (or similar) implementation 16:26 Krock if you're using a buffer variable on stack there's no allocation overhead and you're left with a single std::string copy at the end 16:26 Krock (or reserve std::string first and then write to it) 16:27 schwarzwald[m] Nevermind the test failure thing. I had hardcoded a failure lol. 16:27 schwarzwald[m] Thanks Krock, I'll take a look at it! 16:31 schwarzwald[m] It looks like this is for c-strings, and is probably superceded by the standard library snprintf. 16:41 schwarzwald[m] I think maybe string::append will be suitable, despite not being perfect. 16:54 Guest26 are guests able to talk in -dev? 16:54 Guest26 looks like they can, sorry for the disturbance 20:56 schwarzwald[m] Desour, I'm making a number of changes to the active object manager to kill the code duplication. 20:56 schwarzwald[m] I can wait until your PR is merged and then rebase, or if you think you would appreciate those changes going in first, I can try to do that as well. 20:56 schwarzwald[m] Please let me know what you would prefer.