Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!hao!gatech!mcnc!rti!rcb From: rcb@rti.UUCP (Random) Newsgroups: comp.os.vms Subject: Re: VAX C V2.3, VMS V4.6 Message-ID: <1812@rti.UUCP> Date: Thu, 29-Oct-87 09:51:40 EST Article-I.D.: rti.1812 Posted: Thu Oct 29 09:51:40 1987 Date-Received: Tue, 3-Nov-87 03:52:06 EST References: <8710290159.AA14455@ucbvax.Berkeley.EDU> Reply-To: rcb@rti.UUCP (Random) Organization: Research Triangle Institute, RTP, NC Lines: 11 There is one MAJOR problem with vms 4.6 C run-time library. There is a bug in the memory allocation routines such that if you attempt to malloc or calloc space when you are out of available virtual memory, the routine bombs with a traceback instead of returning NULL. It is a relatively simple task to write versions of malloc, calloc, free and cfree that use lib$get_vm and lib$free_vm to do the work. -- Randy Buckland (919)-541-7103 Research Triangle Institute rcb@rti.rti.org [128.109.139.2] {decvax,ihnp4}!mcnc!rti!rcb