From owner-freebsd-current Fri Oct 25 16:15:05 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA01381 for current-outgoing; Fri, 25 Oct 1996 16:15:05 -0700 (PDT) Received: from gargoyle.bazzle.com ([206.103.246.190]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA01343; Fri, 25 Oct 1996 16:14:48 -0700 (PDT) Received: from gargoyle.bazzle.com (localhost [127.0.0.1]) by gargoyle.bazzle.com (8.7.6/8.6.12) with SMTP id TAA04536; Fri, 25 Oct 1996 19:12:13 -0400 (EDT) Date: Fri, 25 Oct 1996 19:12:12 -0400 (EDT) From: "Eric J. Chet" To: David Nugent cc: freebsd-current@freebsd.org, dob@nasvr1.cb.lucent.com, tg@freebsd.org, phk@freebsd.org Subject: Re: -current as of 10/23/96 In-Reply-To: <199610252039.GAA28193@sdev.usn.blaze.net.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello oops, I'm asleep. Yes I'm symlinked AJ. Poul how about changing the address malloc fills with to '0xDEADBEEF'. We need something that jumps out at you :-) In my Amiga days the "Enforcer" used '0xDEADBEEF' I was not thinking from a ksh point of view. The only thing I changed was a make world. I had been using the ksh bin for about a month. I symlinked AJ to /etc/make.conf about a week ago when Poul suggested it. A very simple patch to the latest, pdksh port. Thanks, Eric J. Chet - ejc@bazzle.com --cut here *** main.c.orig Fri Oct 25 18:48:35 1996 --- main.c Fri Oct 25 18:52:32 1996 *************** *** 482,490 **** s->u.shf = shf; s->file = str_save(name, ATEMP); i = shell(s, FALSE); - quitenv(); source = sold; shf_close(s->u.shf); if (old_argv) { e->loc->argv = old_argv; e->loc->argc = old_argc; --- 482,490 ---- s->u.shf = shf; s->file = str_save(name, ATEMP); i = shell(s, FALSE); source = sold; shf_close(s->u.shf); + quitenv(); if (old_argv) { e->loc->argv = old_argv; e->loc->argc = old_argc; --end of patch