World Library  
Flag as Inappropriate
Email this Article

Bug compatibility

Article Id: WHEBN0008238278
Reproduction Date:

Title: Bug compatibility  
Author: World Heritage Encyclopedia
Language: English
Subject: Software bugs, Undefined behavior
Publisher: World Heritage Encyclopedia

Bug compatibility

Computer hardware or software is said to be bug compatible if it exactly replicates even an undesirable feature of a previous version. The phrase is found in the Jargon File.[1]

An aspect of maintaining backward compatibility with an older system is that such systems' client programs often do not only depend on their specified interfaces, but also on bugs and unintended behaviour. This must also be preserved by the newer replacement. Besides the significantly higher complexity that needs to be maintained during the natural evolution of the code or interface, this can sometimes cause performance or security issues, and the inconsistencies in the behaviour of interfaces can sometimes led to new bugs in the software using it, creating difficult to resolve multi-directional cross dependencies between various pieces of code.

Examples of this can be found in MS-DOS / PC DOS, where the executable loader contains code specially designed to detect and fix a number of widespread bugs in applications and runtime libraries by patching the loaded image before executing it. Over the course of development, DR-DOS also had to be modified to not only emulate many undocumented peculiarities of MS-DOS / PC DOS, but also actual bugs in the kernel and several drivers in order to make certain other drivers and applications run on DR-DOS, when they were tested on specific versions of MS-DOS only.[2]

Windows, which has traditionally emulated many old system bugs in order to allow older low-level programs to run, is another example. As a result, Wine, which makes it possible to run many Windows applications on other platforms, also needs to maintain bug compatibility with Windows.[3]

A hardware example is found in the design of the IBM AT A20 address line to emulate the behaviour in older processors.

See also


  1. ^ "Bug-compatible -". Retrieved 2010-02-03. 
  2. ^ Matthias Paul (2002-02-20). "Need DOS 6.22 (Not OEM)". alt.msdos.programmer. Retrieved 2006-10-14. 
  3. ^ "WineFeatures - The Official Wine Wiki". Retrieved 2010-02-03. 

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.