Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Call stack issues when running trap handler
- X-seq: zsh-workers 40997
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Call stack issues when running trap handler
- Date: Fri, 21 Apr 2017 15:19:04 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=wyFJThKwWuqZkm2IAzwgCwrXE3oTu/+3Y6mYW3fE5uQ=; b=2Ni6Amkjp5dnQiui02nqtsxColAQBWp0n5Nr4yl8vX0Io9Jsq4DjZhWWhXTUCBaxwC Nouedw61YG3qYJMW53vOT3Skxte1V7CV1G64yahD7GcqSoppTnsyxl6cE3FNndxVZfWw k35XIdwaeD0gi1jh/soIsHz6hOXWgzNLxwyzfx5fL8pjrtkm0DhEoCnQ9iiXaYHeqknG MbJB/UKfEzOInQAOwwVrnABhWUxJNiSFVw9Yhkz96Fmoasvtdq5HZ2lnCIrD7XV1z8a9 cn86o+ES9A2MG+qzN0FPkVPRiMpzD9awb4k9TZ2FH0sLwEkBYfLGhEnkLjte5jegS096 nHSw==
- In-reply-to: <87efwlijrl.fsf@wirrsal.net>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <87efwlijrl.fsf@wirrsal.net>
On Apr 21, 10:32pm, Sebastian Reusse wrote:
}
} I've noticed that under certain conditions, shell functions called from
} inside an exit trap handler appear to never return.
Whatever this is dates back a long time. In zsh-3, the sample script
doesn't appear to call the exit trap at all via "main" or "exit0"
though it does if "exit" is called directly. In zsh-4 the behavior
is the same as in current zsh-5.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author