]> andersk Git - openssh.git/commitdiff
- otto@cvs.openbsd.org 2007/04/30 18:42:34
authordjm <djm>
Fri, 26 Oct 2007 06:46:31 +0000 (06:46 +0000)
committerdjm <djm>
Fri, 26 Oct 2007 06:46:31 +0000 (06:46 +0000)
     [openbsd-compat/sys-queue.h]
     Enable QUEUE_MACRO_DEBUG on DIAGNOSTIC kernels.
     Input and okays from krw@, millert@, otto@, deraadt@, miod@.

ChangeLog
openbsd-compat/sys-queue.h

index b19f3cc544a609b5b2a36247506d3b4dae955a23..f5fcb9687954e277b807637998a60e31d58e2d5d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
      Introduce debugging aid for queue macros. Disabled by default; but
      developers are encouraged to run with this enabled.
      ok krw@ fgsch@ deraadt@
+   - otto@cvs.openbsd.org 2007/04/30 18:42:34
+     [openbsd-compat/sys-queue.h]
+     Enable QUEUE_MACRO_DEBUG on DIAGNOSTIC kernels.
+     Input and okays from krw@, millert@, otto@, deraadt@, miod@.
  - (djm) [regress/sftp-cmds.sh]
    Use more restrictive glob to pick up test files from /bin - some platforms
    ship broken symlinks there which could spoil the test.
index 7d231bca8077b58cd04b8a95bcf0526b13d770fa..5cf0587bd1c2e511a609c0f913df52b32307f4b2 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: queue.h,v 1.31 2005/11/25 08:06:25 otto Exp $ */
+/*     $OpenBSD: queue.h,v 1.32 2007/04/30 18:42:34 pedro Exp $        */
 /*     $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $       */
 
 /*
  * For details on the use of these macros, see the queue(3) manual page.
  */
 
-#ifdef QUEUE_MACRO_DEBUG
+#if defined(QUEUE_MACRO_DEBUG) || (defined(_KERNEL) && defined(DIAGNOSTIC))
 #define _Q_INVALIDATE(a) (a) = ((void *)-1)
 #else
 #define _Q_INVALIDATE(a)
This page took 1.0319 seconds and 5 git commands to generate.