diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/stdlib/atexit.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/atexit.c b/src/lib/libc/stdlib/atexit.c index 019b901575..cb96bf0aa9 100644 --- a/src/lib/libc/stdlib/atexit.c +++ b/src/lib/libc/stdlib/atexit.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: atexit.c,v 1.10 2005/08/08 08:05:36 espie Exp $ */ | 1 | /* $OpenBSD: atexit.c,v 1.11 2005/10/26 18:55:26 otto Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2002 Daniel Hartmeier | 3 | * Copyright (c) 2002 Daniel Hartmeier |
| 4 | * All rights reserved. | 4 | * All rights reserved. |
| @@ -46,10 +46,6 @@ struct atexit *__atexit; | |||
| 46 | * | 46 | * |
| 47 | * Outside the following two functions, all pages are mprotect()'ed | 47 | * Outside the following two functions, all pages are mprotect()'ed |
| 48 | * to prevent unintentional/malicious corruption. | 48 | * to prevent unintentional/malicious corruption. |
| 49 | * | ||
| 50 | * The free(malloc(1)) is a workaround causing malloc_init() to | ||
| 51 | * ensure that malloc.c gets the first mmap() call for its sbrk() | ||
| 52 | * games. | ||
| 53 | */ | 49 | */ |
| 54 | 50 | ||
| 55 | /* | 51 | /* |
