@Max. Well, they should write new code. But, management is always looking to cut costs. If I'm upgrading the critical infrastructure in a power plant because my Windows 95 box (no kidding they actually use these) can run any longer, then management wants to port the legacy code because it's "proven". Of course porting to a new environment will introduce new bugs. But, that's not taken into acount in the calculus.