🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #708

Re: Bind patch errors - free dumps core

#708
From: Trip Martin
Date: Tue, 14 Nov 1989 16:20
20 lines
1386 bytes
In <ANDREWT.89Nov13123127@watsnew.waterloo.edu> andrewt@watsnew.waterloo.edu (Andrew Thomas) writes:
>
>Regarding the patches posted recently for bind, I have some
>complaints.  any attempt to rebind a macro, either to nil or to a
>different key string results in a core dump due to free being called
>on an invalid pointer and a message to bfox, which I am sure he does
>not want to see.  Any information on how to fix this would be
>appreciated.

Those patches were not meant to be posted.  I was replying to Brian, 
and didn't notice the cc to gnu-bash-bug.  My apologies for any problems
it may cause.  I'll be more careful in the future.  

I'll look into the bug though.  Also, you can't do a macro bind to nil.
It should give you an error for that.  If you want to disable a key, do 
a function bind to nil (i.e. no "macro" keyword). 

-- 
Trip Martin  KA2LIV       night@pawl.rpi.edu
Finite state machinist    night@uruguay.acm.rpi.edu
Technical Details
Message-ID: <1989Nov14.162036.17956@rpi.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!rpi!night
References: <ANDREWT.89Nov13123127@watsnew.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!rpi!night
From: night@pawl.rpi.edu (Trip Martin)
Newsgroups: gnu.bash.bug
Subject: Re: Bind patch errors - free dumps core
Message-ID: <1989Nov14.162036.17956@rpi.edu>
Date: 14 Nov 89 16:20:36 GMT
References: <ANDREWT.89Nov13123127@watsnew.waterloo.edu>
Organization: Rensselaer Polytechnic Institute, Troy NY
Lines: 20