spelling
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Copyright (C) 1999-2001 Internet Software Consortium.
|
||||
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
|
||||
|
||||
$Id: magic_numbers,v 1.5 2001/01/09 21:47:01 bwelling Exp $
|
||||
$Id: magic_numbers,v 1.6 2002/07/12 00:10:26 marka Exp $
|
||||
|
||||
Magic Numbers
|
||||
|
||||
@@ -10,7 +10,7 @@ magic number as the first field. The purpose of the magic number is
|
||||
principally to validate that a pointer a subroutine has gotten really points
|
||||
to the type it claims to be. This helps detect problems caused by resources
|
||||
being freed prematurely, that have been corrupted, or that have not been
|
||||
properly initalized. It can also be handy in debugging.
|
||||
properly initialized. It can also be handy in debugging.
|
||||
|
||||
Magic numbers should always be the first field. They never require locking
|
||||
to access. As to the actual value to be used, something mnemonic is good:
|
||||
|
||||
Reference in New Issue
Block a user