From 4e61a98ad40c5d03763d72a3651c57262769521f Mon Sep 17 00:00:00 2001 From: otto <> Date: Thu, 30 Jun 2016 09:00:48 +0000 Subject: [PATCH] adapt S option: add C, rm F (not relevant with 0 cache and disables chunk rnd), rm P: is default --- src/lib/libc/stdlib/malloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/libc/stdlib/malloc.c b/src/lib/libc/stdlib/malloc.c index a0b2a7df..678c782d 100644 --- a/src/lib/libc/stdlib/malloc.c +++ b/src/lib/libc/stdlib/malloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malloc.c,v 1.190 2016/06/28 06:40:11 tb Exp $ */ +/* $OpenBSD: malloc.c,v 1.191 2016/06/30 09:00:48 otto Exp $ */ /* * Copyright (c) 2008, 2010, 2011 Otto Moerbeek * Copyright (c) 2012 Matthew Dempsky @@ -617,12 +617,12 @@ omalloc_init(struct dir_info **dp) for (; p != NULL && *p != '\0'; p++) { switch (*p) { case 'S': - for (q = "FGJP"; *q != '\0'; q++) + for (q = "CGJ"; *q != '\0'; q++) omalloc_parseopt(*q); mopts.malloc_cache = 0; break; case 's': - for (q = "fgj"; *q != '\0'; q++) + for (q = "cgj"; *q != '\0'; q++) omalloc_parseopt(*q); mopts.malloc_cache = MALLOC_DEFAULT_CACHE; break;