From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: PATCH: 3.1.6-pws-9: use heap in printjobs
Date: Fri, 26 Nov 1999 22:09:14 +0000 [thread overview]
Message-ID: <E11rTXw-0007tC-00.1999-11-26-22-08-52@mail1.svr.pol.co.uk> (raw)
This fixes an error message about using permanent allocation when
a background job exits and the notify message is printed.
--- Src/jobs.c.uh Wed Oct 6 18:58:17 1999
+++ Src/jobs.c Wed Nov 24 20:37:35 1999
@@ -548,8 +548,11 @@
if (j->stat & STAT_TIMED)
return 1;
- if (!(v = getvalue(&s, 0)) || (reporttime = getintvalue(v)) < 0)
- return 0;
+ HEAPALLOC {
+ if (!(v = getvalue(&s, 0)) || (reporttime = getintvalue(v)) < 0) {
+ LASTALLOC_RETURN 0;
+ }
+ } LASTALLOC;
/* can this ever happen? */
if (!j->procs)
--
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
reply other threads:[~1999-11-26 22:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E11rTXw-0007tC-00.1999-11-26-22-08-52@mail1.svr.pol.co.uk \
--to=pws@pwstephenson.fsnet.co.uk \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).