|
|
|
|
|
by sirwhinesalot
811 days ago
|
|
There's no need to integrate with 60 years of mission critical codebases, you're making up a problem in your head that doesn't exist. Nothing needs to be fixed, all it takes is to stop doing the stupid thing. It does not take a "coordinated gang" to shut down C standard proposals, them getting shut down is the default. You seem to be neither familiar with the nature of the problem or the struggle that is getting anything passed through ISO standardization. I don't mean to belittle you by saying this, I just hope to make you understand that you are assuming things that are simply not based in reality. It doesn't even need to be in the standard btw. Just write your own. It's a few lines of code. As you say, a beginner exercise. Yet there is code written after the year 2000 that still uses the strxcpy family. Long after the issues have been known and what the solution is. "Backwards compatibility" is a total red herring. C++ has the solution right there in its standard library. A backwards compatible string buffer implementation. |
|
Well we'll just agree to disagree I suppose, as I'm equally convinced that you're not grasping what the problem actually is.
All I can say is that if this were as easy to fix as you assert and "all it takes is to stop doing the stupid thing" and we both agree that writing code for the better thing is super easy, then consider why it has not been possible to fix in the C universe.