youngdale@V6550C.NRL.NAVY.MIL (Eric Youngdale) (03/19/91)
There is another patch that should be made to emacs 18.57, before it is used under VMS. I actually discovered this a few weeks ago, but I forgot to post it here. You need to go into s-vms.h, and add a line like: #define calloc sys_calloc You will find similar lines for the other memory allocation functions in this file as well. What is happening is that in 18.57 someone added a calloc routine to malloc.c (even though it is not being used by emacs). The VAXCIO routines are calling our calloc, which means that impure storage is being filled with stuff related to VAXCIO. This patch is a means of making sure that only emacs functions use the impure storage. If you do not make this change, you will run out of impure storage for one thing, and if you increase the size of impure storage and build in spite of this, you will notice that things like some command line arguments and the default directory being restored from the dump file. ------------------------------------------------------------------ Eric Youngdale INTERNET: YOUNGDALE@V6550C.NRL.NAVY.MIL Naval Research Lab SPAN: 11.13 (or 11277::) Washington, DC FLAME-NET: NLA0: Disclaimer: The opinions expressed herein are my own and not necessarily those of my employer.