3 ms·
But if you compile some third-party code that doesn’t know of that API change, and then use it, that can lead to disaster. For an example, see the GP post at ht
by Someone 2y ago
But if you compile some third-party code that doesn’t know of that API change, and then use it, that can lead to disaster. For an example, see the GP post at https://news.ycombinator.com/item?id=42971287 https://news.ycombinator.com/item?id=42971287.
I think it would have been better to remove rand and srand, and provide two replacement functions with different names, or require all users to pick one using a #define.