diff options
author | Damien Miller <djm@mindrot.org> | 2007-10-26 16:43:22 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2007-10-26 16:43:22 +1000 |
commit | 0b6a21d468e19702f3a9febdace803225ce2fbf7 (patch) | |
tree | d5d74627d8e8df2ccb1d5116e6f9c02d0988b993 | |
parent | 9aeef6b50d23a9f430b65c6f3454d14db0083832 (diff) |
- otto@cvs.openbsd.org 2005/10/24 20:25:14
[openbsd-compat/sys-queue.h]
Partly backout. NOLIST, used in LISTs is probably interfering.
requested by deraadt@
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | openbsd-compat/sys-queue.h | 4 |
2 files changed, 6 insertions, 4 deletions
@@ -110,6 +110,10 @@ | |||
110 | referencing who knows what. Prevent these accidents by NULLing some | 110 | referencing who knows what. Prevent these accidents by NULLing some |
111 | fields on remove and replace. This way, either a panic or segfault | 111 | fields on remove and replace. This way, either a panic or segfault |
112 | will be produced on the faulty operation. | 112 | will be produced on the faulty operation. |
113 | - otto@cvs.openbsd.org 2005/10/24 20:25:14 | ||
114 | [openbsd-compat/sys-queue.h] | ||
115 | Partly backout. NOLIST, used in LISTs is probably interfering. | ||
116 | requested by deraadt@ | ||
113 | - (djm) [regress/sftp-cmds.sh] | 117 | - (djm) [regress/sftp-cmds.sh] |
114 | Use more restrictive glob to pick up test files from /bin - some platforms | 118 | Use more restrictive glob to pick up test files from /bin - some platforms |
115 | ship broken symlinks there which could spoil the test. | 119 | ship broken symlinks there which could spoil the test. |
@@ -3386,4 +3390,4 @@ | |||
3386 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 3390 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
3387 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 3391 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
3388 | 3392 | ||
3389 | $Id: ChangeLog,v 1.4788 2007/10/26 06:42:18 djm Exp $ | 3393 | $Id: ChangeLog,v 1.4789 2007/10/26 06:43:22 djm Exp $ |
diff --git a/openbsd-compat/sys-queue.h b/openbsd-compat/sys-queue.h index ee2ce30bf..e5c5e2f9f 100644 --- a/openbsd-compat/sys-queue.h +++ b/openbsd-compat/sys-queue.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: queue.h,v 1.28 2005/10/17 20:19:42 otto Exp $ */ | 1 | /* $OpenBSD: queue.h,v 1.29 2005/10/24 20:25:14 otto Exp $ */ |
2 | /* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */ | 2 | /* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */ |
3 | 3 | ||
4 | /* | 4 | /* |
@@ -304,8 +304,6 @@ struct { \ | |||
304 | (elm)->field.le_next->field.le_prev = \ | 304 | (elm)->field.le_next->field.le_prev = \ |
305 | (elm)->field.le_prev; \ | 305 | (elm)->field.le_prev; \ |
306 | *(elm)->field.le_prev = (elm)->field.le_next; \ | 306 | *(elm)->field.le_prev = (elm)->field.le_next; \ |
307 | (elm)->field.le_prev = NULL; \ | ||
308 | (elm)->field.le_next = NULL; \ | ||
309 | } while (0) | 307 | } while (0) |
310 | 308 | ||
311 | #define LIST_REPLACE(elm, elm2, field) do { \ | 309 | #define LIST_REPLACE(elm, elm2, field) do { \ |