🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98691

Re: incomplete makeinfo distribution in emacs 18.57

#98691
From: David Glaubman
Date: Sat, 09 Mar 1991 05:34
33 lines
2143 bytes
This afternoon I ftp'ed the Emacs Lisp documentation from the
file elisp.tar.Z on node prep.ai.mit.edu

I built makeinfo from the makeinfo.c, getopt.c and getopt1.c files
that were included in the tar file, but ran into a Virtual Memory 
exhausted error when I attempted to 
		makeinfo elisp.texi

After some debugging, it appeared that the routine "accumulate_token"
attempts to realloc() space that has never been malloc()'ed.

With some trepidation (since I never understood the various subtleties
of the myriad types of allocation routines) I propose the following patch
to the routine "initialize_accumulator_token()": 

4168c4168
<   (accumulator -> tokens) = (char **)xmalloc(0);
---
>   (accumulator -> tokens) = NULL;


I notice that makeinfo does not contain a Version.h or a ChangeLog,
and I am not familiar with the proper patch procedure, but I can report
the resulting makeinfo seems to work correctly, and I have elisp info
online. 

David GLaubman
dglaubman@msri.org	415 642-0143

Note 1. The informal patch above was generated by "diff makeinfo.c*".
Note 2. This is being posted as a followup to Mackenzie's article because
        he reported that the 18.57 distrib contained makeinfo.c but not
	getopt.c or getopt1.c. Both exist in the tarfile elisp.tar.Z
Technical Details
Message-ID: <10777@dog.ee.lbl.gov>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
References: <9102130437.AA10905@egypt.eng.umd.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,1c0d584fc40dc9c9
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-03-09 15:51:11 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: glaubman@BANACH.MSRI.ORG (David Glaubman)
Newsgroups: gnu.emacs.bug
Subject: Re: incomplete makeinfo distribution in emacs 18.57
Keywords: makeinfo, elisp, documentation
Message-ID: <10777@dog.ee.lbl.gov>
Date: 9 Mar 91 05:34:24 GMT
References: <9102130437.AA10905@egypt.eng.umd.edu>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: glaubman@banach.msri.org (David Glaubman)
Distribution: gnu
Organization: Mathematical Sciences Research Institute
Lines: 33
Approved: bug-gnu-emacs@prep.ai.mit.edu