Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Seg. Fault when calling "cd" with set "chpwd" hook from a widget



Peter Stephenson wrote:
> Actually, I think that's the right fix:  I recently moved the *hptr = '\0'
> up to that point because in some cases chline gets accessed quite early,
> but I didn't do the checks that are usually done before accessing it.

Hmm... actually, I'm not so sure on reinspection.  Probably needs deeper
investigation.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author