Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh4.0.1-pre4 : backticks fail if SHLVL nonexistant
- X-seq: zsh-users 3880
- From: Richard Curnow <Richard.Curnow@xxxxxx>
- To: Zsh users list <zsh-users@xxxxxxxxxxxxxx>
- Subject: zsh4.0.1-pre4 : backticks fail if SHLVL nonexistant
- Date: Fri, 18 May 2001 13:30:31 +0100
- Mail-followup-to: Zsh users list <zsh-users@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Recieved: from Richard.Curnow@xxxxxx by popov with local (Exim 3.03 #5) id 150jOp-0006kZ-00 for zsh-users@xxxxxxxxxxxxxx; Fri, 18 May 2001 13:30:31 +0100
I've downloaded and built zsh4.0.1-pre4. I was finding that any attempt to use
backtick-substitution was resulting in a core dump. I rebuilt with -g and
tracked it down to a null pointer 'pm' in setiparam, for an attempt to set
SHLVL from line 2316 of exec.c. Unfortunately, I had SHLVL being unset by a
line in my .zshenv. (In order to reduce the environment to a clean initial
state before adding new defintions, I unset everything except for a defined
list of variables at the start of .zshenv. Previously, SHLVL wasn't one of
them. It worked OK with zsh v3.1.5).
It looks like the backticks code needs to be made robust against SHLVL not
existing (i.e. it should be created if missing, or the code shouldn't care if
it is missing.)
Cheers
Richard
--
Richard Curnow---by day : SuperH Core Architecture at STMicroelectronics
curnowr@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
and by night >>---richard.curnow@xxxxxxxxxxxx://go.to/richard.curnow/---
Messages sorted by:
Reverse Date,
Date,
Thread,
Author