From c3ec466af9d58979a7ae0ee8879df7dc246fa496 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Wed, 8 Apr 1992 03:25:15 +0000 Subject: [PATCH] Fixed os_validate to actually return 0 when it couldn't allocate the memory. --- ldb/mach-os.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ldb/mach-os.c b/ldb/mach-os.c index 7b2c7f5d4..3817ff0be 100644 --- a/ldb/mach-os.c +++ b/ldb/mach-os.c @@ -1,5 +1,5 @@ /* - * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/ldb/Attic/mach-os.c,v 1.4 1992/03/02 04:10:36 wlott Exp $ + * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/ldb/Attic/mach-os.c,v 1.5 1992/04/08 03:25:15 wlott Exp $ * * OS-dependent routines. This file (along with os.h) exports an * OS-independent interface to the operating system VM facilities. @@ -45,7 +45,7 @@ vm_size_t len; #endif if (res != KERN_SUCCESS) - mach_error("Could not vm_allocate memory: ", res); + return 0; segments = -1; -- GitLab