News for hackers. Stuff that matters.
Re:Tracking down a segfault that suddenly started happening by ncmncm on Monday January 18, 2021 @01:09PM (#25824649)
Maybe the lesson is that languages that don't explicitly support namespaces are pernicious.

Just compiling the original app and its static dependencies with a C++ compiler would fix this, because send_socket's linkage name would get the arguments mangled in.

After that, the code could use modern C++ features, and get incrementally more maintainable.

There are no comments on this comment yet.