summaryrefslogtreecommitdiff
path: root/usr/src/lib/efcode/engine/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/efcode/engine/init.c')
-rw-r--r--usr/src/lib/efcode/engine/init.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/usr/src/lib/efcode/engine/init.c b/usr/src/lib/efcode/engine/init.c
index 128476cf4e..d6540c316f 100644
--- a/usr/src/lib/efcode/engine/init.c
+++ b/usr/src/lib/efcode/engine/init.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,8 +19,8 @@
* CDDL HEADER END
*/
/*
- * Copyright (c) 1999 by Sun Microsystems, Inc.
- * All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
@@ -34,7 +33,7 @@
#include <fcode/log.h>
fcode_env_t *initial_env = 0;
-int dict_size = 0x100000; /* 1Mb, hopefully big enough... */
+int dict_size = 0x4000000; /* 64Mb, hopefully big enough... */
int stack_size = 0x200;
void *
@@ -42,7 +41,7 @@ safe_malloc(size_t n, char *f, int l)
{
void *p;
- p = malloc((size_t) n);
+ p = malloc((size_t)n);
#if defined(__sparcv9)
/*
* For Ultrasparc, we must force addresses to be less than 4Gb,
@@ -55,7 +54,7 @@ safe_malloc(size_t n, char *f, int l)
}
#endif /* __sparcv9 */
if (p) {
- memset(p, 0, (size_t) n);
+ memset(p, 0, (size_t)n);
} else
log_message(MSG_ERROR, "%s:%d:Malloc(%llx) failed\n", f, l,
(uint64_t)n);