Skip to content

Commit

Permalink
Environment variable name change, removed Jillian's email address.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 2, 2000
1 parent 6fec881 commit 17e48d6
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions BASIClib/MemoryManager.c
Expand Up @@ -5,17 +5,15 @@
*/

#include <stdlib.h>
#include <malloc.h>
#include <ctype.h>
#include "gc.h"
#include "MemoryManager.h"

#define VBSTARTHEAP "VBSTARTHEAP"

#define ENVVAR_STARTHEAP "SLACKERSTARTHEAP"

static void increaseDefaultHeap(void)
{
char *env = getenv(VBSTARTHEAP);
char *env = getenv(ENVVAR_STARTHEAP);
char *increaseByChar = NULL;
__long heapIncrease = 0;

Expand Down Expand Up @@ -46,10 +44,7 @@ static void increaseDefaultHeap(void)
__runtimeError(ERR_OUT_OF_MEMORY);
} /* if */
} /* if */
} // increaseDefaultHeap


// jillian@giftedandtalented.org
} /* increaseDefaultHeap */


void __initMemoryManager(void)
Expand Down Expand Up @@ -266,6 +261,5 @@ __boolean __memIsGarbageCollectorEnabled(void)
return(GC_dont_gc ? false : true);
} /* __memIsGarbageCollectorEnabled */


/* end of MemoryManager.c ... */

0 comments on commit 17e48d6

Please sign in to comment.