3 ms·
I know this is like common knowledge but how true is this? Are there examples of those intentionally left in bugs?
by RedShift1 5y ago
I know this is like common knowledge but how true is this? Are there examples of those intentionally left in bugs?
- ______-_-______ 5y agoOn the Old New Thing blog there are hundreds (maybe thousands) of examples. Here's the first one google decided to show me: https://devblogs.microsoft.com/oldnewthing/20031103-00/?p=41973 https://devblogs.microsoft.com/oldnewthing/20031103-00/?p=41...
- duffyjp 5y agoI don't know if you'd call it a bug exactly, but the fact you still can't name a file "con.txt" or "aux.bat" etc is pretty silly.
- mdoms 5y agoThis PDF from Raymond Chen (I don't know the source material) is a great example of the lengths the Windows team had to go to to maintain backwards compatibility between Windows versions. They spent an inordinate amount of time either working directly with application developers or, when that wasn't an option, changing Windows internals specifically to keep problematic Windows apps working. http://ptgmedia.pearsoncmg.com/images/9780321440303/samplechapter/Chen_bonus_ch01.pdf http://ptgmedia.pearsoncmg.com/images/9780321440303/samplech...
- bena 5y agoSim City for Windows 3.x would read memory it recently freed. This never crashed the program because Windows 3.x was more like a graphical shell on top of DOS. It wasn't a true multi-user or multi-tasking operating system. If you released memory, there wasn't anything else waiting to grab it from you. So the fact that you shouldn't read memory that's been freed, it went unnoticed. Until they tried to run it on Windows 95. Then it would crash. A lot. The game was unplayable. Because Windows 95 was a multi-tasking operating system and it would reallocate freed memory to other programs that may ask for it. So they put a specific check in Windows 95 to see if Sim City is running. And if it was, they essentially sandboxed its memory so nothing else could grab any memory it used. While in this case, this isn't an example of a bug that was intentionally left in, it is an example of code written into an operating system to handle the bug of a single program. But that's how they'd handle it. If PROGRAM X required certain behavior, they'd check to see if that program was running and alter behavior so the program would run. If feels like that's like half of what the registry is for.