summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-22 18:44:07 +0000
committerbde <bde@FreeBSD.org>1995-12-22 18:44:07 +0000
commit0894c061449b60ccdf3f24352980c4d4236f39c6 (patch)
tree5c04fcd3e94a698f1d3ef1023e3083162c991be9
parent0b2bdcf0e28609a76e6f936556966500cfc4bc56 (diff)
downloadFreeBSD-src-0894c061449b60ccdf3f24352980c4d4236f39c6.zip
FreeBSD-src-0894c061449b60ccdf3f24352980c4d4236f39c6.tar.gz
Added undocumented option DEBUG so that debugging code gets maintained
or deleted. Motivated by: `int doclusteread = 1;' in ext2_vnops.c redefined doclusterread if DEBUG is defined, so it could not have worked. This was fixed by staticizing things before it caused problems. I didn't find any more cases like this.
-rw-r--r--sys/conf/NOTES3
-rw-r--r--sys/i386/conf/LINT3
-rw-r--r--sys/i386/conf/NOTES3
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index e858573..000808e 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
-# $Id: LINT,v 1.223 1995/12/16 02:19:17 bde Exp $
+# $Id: LINT,v 1.224 1995/12/16 21:00:14 bde Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@@ -843,6 +843,7 @@ options POWERFAIL_NMI # make it beep instead of panicing
# More undocumented options for linting.
options COMPAT_LINUX
+options DEBUG
options "EXT2FS"
options "IBCS2"
options LINUX
diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT
index e858573..000808e 100644
--- a/sys/i386/conf/LINT
+++ b/sys/i386/conf/LINT
@@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
-# $Id: LINT,v 1.223 1995/12/16 02:19:17 bde Exp $
+# $Id: LINT,v 1.224 1995/12/16 21:00:14 bde Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@@ -843,6 +843,7 @@ options POWERFAIL_NMI # make it beep instead of panicing
# More undocumented options for linting.
options COMPAT_LINUX
+options DEBUG
options "EXT2FS"
options "IBCS2"
options LINUX
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index e858573..000808e 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
@@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
-# $Id: LINT,v 1.223 1995/12/16 02:19:17 bde Exp $
+# $Id: LINT,v 1.224 1995/12/16 21:00:14 bde Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@@ -843,6 +843,7 @@ options POWERFAIL_NMI # make it beep instead of panicing
# More undocumented options for linting.
options COMPAT_LINUX
+options DEBUG
options "EXT2FS"
options "IBCS2"
options LINUX
OpenPOWER on IntegriCloud